MFSampleExtension_Interlaced attribute

Indicates whether a video frame is interlaced or progressive. If TRUE, the frame is interlaced. If FALSE, the frame is progressive. If not set, the media type describes the interlacing. This attribute applies to media samples.

Data type

BOOL stored as UINT32

Syntax

GUID MFSampleExtension_Interlaced = {0xb1d5830a,0xdeb8,0x40e3,{0x90,0xfa,0x38,0x99,0x43,0x71,0x64,0x61} }  

Get/set

To get this attribute, call IMFAttributes::GetUINT32

To set this attribute, call IMFAttributes::SetUINT32

Applies to

IMFSample:

Remarks

For video content that contains mixed progressive and interlaced frames, set the media type to interlaced and use this attribute on each frame to indicate whether the frame is progressive or interlaced.

For video content that is entirely interlaced, set the media type to interlaced and omit this attribute, or set it to TRUE on every sample.

For video content that is entirely progressive, set the media type to progressive and omit this attribute, or set it to FALSE on every sample.

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

Requirements

Header: Declared in mfapi.h.