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.

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 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

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

See also

Alphabetical List of Media Foundation Attributes

Asynchronous MFTs

Transform Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFTransform