Moves the cursor by a given delta time on the presentation timeline.
SDK
- macOS 10.10+
Framework
- AVFoundation
Declaration
func step(byPresentationTime deltaPresentationTime: CMTime, wasPinned outWasPinned: Unsafe Mutable Pointer<Obj CBool>?) -> CMTime
Parameters
deltaPresentationTime
The amount of time to move in the presentation timeline.
outWasPinned
The amount of time the cursor was moved along the presentation timeline. Because sample cursors snap to sample boundaries when stepped, this value may not be equal to
delta
even if the cursor was not pinned.Decode Time
Return Value
The amount of time the cursor was moved along the presentation timeline. Because sample cursors snap to sample boundaries when stepped, this value may not be equal to delta
even if the cursor was not pinned.