Sets an output presentation timestamp to be used in place of a calculated value.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
- Core Media
The sample buffer being interrogated
New value for
Presentation Time Stamp
kto go back to the default calculation.
A result code. See Result Codes.
The output presentation timestamp is the time at which the decoded, trimmed, stretched and possibly reversed samples should commence being presented. By default, this is calculated by calling
CMSample to explicitly set the value for
CMSample to return.
For general forward playback in a scaled edit, the OutputPresentationTimeStamp should be set to:
For general reversed playback
Output should be set to: