Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFSampleExtension_Discontinuity attribute

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

Data type

BOOL stored as UINT32


To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Applies to



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.


Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]



See also

Alphabetical List of Media Foundation Attributes
Sample Attributes
Media Samples



© 2017 Microsoft