MF_SD_ASF_EXTSTRMPROP_LANGUAGE_ID_INDEX attribute

Specifies the language used by a stream in an Advanced Systems Format (ASF) file.

Data type

UINT32

Remarks

This attribute applies to stream descriptors for ASF content. The value is an index into the language list contained in the MF_PD_ASF_LANGLIST attribute.

This attribute corresponds to the Stream Language ID Index field in the Extended Stream Properties object. For more information, refer to the ASF specification.

The IMFASFContentInfo::GeneratePresentationDescriptor method generates this attribute from the ASF metadata. The application can create the stream descriptor for the stream from the presentation descriptor by calling IMFPresentationDescriptor::GetStreamDescriptorByIndex.

You can also get the language tag by querying the stream descriptor for the MF_SD_LANGUAGE attribute.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wmcontainer.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFStreamDescriptor

Stream Descriptor Attributes

ASF Header Object