MFSampleExtension_RepeatFirstField attribute

Specifies whether to repeat the first field in an interlaced frame. This attribute applies to media samples.

Data type

BOOL stored as UINT32

Syntax

GUID MFSampleExtension_RepeatFirstField = {0x304d257c,0x7493,0x4fbd,{0xb1,0x49,0x92,0x28,0xde,0x8d,0x9a,0x99} }  

Get/set

To get this attribute, call IMFAttributes::GetUINT32

To set this attribute, call IMFAttributes::SetUINT32

Applies to

IMFSample:

Remarks

If the value is FALSE or the attribute is not set, the first field is not repeated. If the value is TRUE, the first field is repeated. The value TRUE is valid only when the following conditions are true:

This attribute is used for 3:2 pulldown. The following table shows the order in which fields are displayed.

MFSampleExtension_RepeatFirstField MFSampleExtension_BottomFieldFirst Field order
TRUE TRUE Lower, upper, lower
TRUE FALSE Upper, lower, upper
FALSE TRUE Lower, upper
FALSE FALSE Upper, lower

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

Requirements

Header: Declared in mfapi.h.