Instance Property

samplesRequiredForDecoderRefresh

The number of samples prior to the current sample, in decode order, the decoder requires in order to achieve a coherent output at the current decode time.

Declaration

var samplesRequiredForDecoderRefresh: Int { get }

Discussion

Zero is returned when no samples are required for decoder refresh or when the track does not contain this information.

Some sample sequences do not indicate sample dependencies and instead indicate that in order for a specific sample to be decoded with all available accuracy. Samples prior to that sample in decode order must be decoded before the specific sample is decoded.

See Also

Getting Samples

func maySamplesWithEarlierDecodeTimeStampsHavePresentationTimeStamps(laterThan: AVSampleCursor) -> Bool

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

func maySamplesWithLaterDecodeTimeStampsHavePresentationTimeStamps(earlierThan: AVSampleCursor) -> Bool

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