MFSampleExtension_Discontinuity attribute

Specifies whether a media sample is the first sample after a gap in the stream.

Data type

BOOL stored as UINT32

Syntax

GUID MFSampleExtension_Discontinuity = {0x9cdf01d9,0xa0f0,0x43ba,{0xb0,0x77,0xea,0xa0,0x6c,0xbd,0x72,0x8a} }  

Get/set

To get this attribute, call IMFAttributes::GetUINT32

To set this attribute, call IMFAttributes::SetUINT32

Applies to

IMFSample:

Remarks

This attribute applies to media samples. If this attribute is TRUE, it means there was a discontinuity in the stream and this sample is the first to appear after the gap.

If this attribute is not set, the default value is FALSE.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Header: Declared in mfapi.h.