MFT_SUPPORT_DYNAMIC_FORMAT_CHANGE attribute

Specifies whether a Media Foundation transform (MFT) supports dynamic format changes.

Data type

UINT32

Treat as a Boolean value.

Syntax

GUID MFT_SUPPORT_DYNAMIC_FORMAT_CHANGE = {0x53476a11,0x3f13,0x49fb,{0xac,0x42,0xee,0x27,0x33,0xc9,0x67,0x41} }  

Remarks

This attribute can have the following values.

Value Description
TRUE The client can change the input format during streaming.
FALSE The MFT must be drained before the client can change the input format.

To get this attribute, first call IMFTransform::GetAttributes to get the global attribute store for the MFT. Then call IMFAttributes::GetUINT32 to get the attribute value.

If IMFTransform::GetAttributes fails or the attribute is not present, the default value if FALSE.

Asynchronous MFTs must return the value TRUE.

For more information, see Handling Stream Changes.

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

Requirements

Header: Declared in mfapi.h.