Redigera

Dela via


MF_SD_LANGUAGE attribute

Specifies the language for a stream.

Data type

Wide-character string

Remarks

The value of this attribute is an RFC 1766-compliant language tag. This attribute applies to stream descriptors.

A media source (or any object that creates a stream descriptor) can set this attribute if the stream has a specified language. Applications can query this attribute to get the language. If the attribute is not set, the stream does not have a specified language.

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

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetString

IMFAttributes::SetString

IMFStreamDescriptor

Stream Descriptor Attributes