Skip to content

Latest commit

 

History

History
67 lines (38 loc) · 2.45 KB

mf-sd-asf-extstrmprop-language-id-index-attribute.md

File metadata and controls

67 lines (38 loc) · 2.45 KB
description ms.assetid title ms.topic ms.date
Specifies the language used by a stream in an Advanced Systems Format (ASF) file.
834cac0a-0c84-49aa-baf2-32bae26e215b
MF_SD_ASF_EXTSTRMPROP_LANGUAGE_ID_INDEX attribute (Wmcontainer.h)
reference
05/31/2018

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