kCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding
Indicates whether the sample buffer should be reset before decoding (type CFBoolean, default false).
Declaration
let kCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding: CFStringDiscussion
This attachment is used at run time to indicate that a sample follows a break in decode sequence and that it is appropriate to reset the decoder before decoding this sample.
This attachment is not written to media files.
See Also
Sample Buffer Keys
kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediatelykCMSampleBufferAttachmentKey_DrainAfterDecodingkCMSampleBufferAttachmentKey_DroppedFrameReasonkCMSampleBufferDroppedFrameReason_FrameWasLatekCMSampleBufferDroppedFrameReason_OutOfBufferskCMSampleBufferDroppedFrameReason_DiscontinuitykCMSampleBufferAttachmentKey_DroppedFrameReasonInfokCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitchkCMSampleBufferAttachmentKey_EmptyMediakCMSampleBufferAttachmentKey_EndsPreviousSampleDurationkCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilencekCMSampleBufferAttachmentKey_ForceKeyFramekCMSampleBufferAttachmentKey_GradualDecoderRefreshkCMSampleBufferAttachmentKey_PermanentEmptyMediakCMSampleBufferAttachmentKey_PostNotificationWhenConsumed