Contents

maySamplesWithEarlierDecodeTimeStampsHavePresentationTimeStamps(laterThan:)

Determines whether a sample earlier in decode order can have a presentation timestamp later than that of the specified sample cursor.

Declaration

func maySamplesWithEarlierDecodeTimeStampsHavePresentationTimeStamps(laterThan cursor: AVSampleCursor) -> Bool

Parameters

  • cursor:

    An instance of AVSampleCursor with which to test the sample reordering boundary.

Return Value

true if it’s possible for any sample earlier in decode order than the sample at the position of the receiver can have a presentation timestamp later than that of the specified sample cursor; otherwise, false.

Discussion

Undefined results occur if this cursor and the passed in cursor reference different sequences of samples, such as when they’re created by different instances of AVAssetTrack.

See Also

Accessing samples