MF_MT_MPEG4_CURRENT_SAMPLE_ENTRY attribute

Specifies the current entry in the sample description box for an MPEG-4 media type.

Data type

UINT32

Syntax

GUID MF_MT_MPEG4_CURRENT_SAMPLE_ENTRY = {0x9aa7e155,0xb64a,0x4c1d,{0xa5,0x00,0x45,0x5d,0x60,0x0b,0x65,0x60} }  

Get/set

To get this attribute, call IMFAttributes::GetUINT32

To set this attribute, call IMFAttributes::SetUINT32

Applies to

IMFMediaType

Remarks

In an MP4 or 3GP file, the sample description box describes the encoding used for a stream in the file. The sample description box can contain multiple entries. This attribute specifies which entry to use. The value is a zero-based index into the list.

Currently, the only supported value is 0. The attribute has been defined for future extensibility.

The MPEG-4 file source always sets the value to 0. The MP4 and 3GP file sinks ignore the value of this attribute if it is present.

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

Requirements

Header: Declared in mfapi.h.