Expand Minimize

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.

ValueDescription
TRUEThe client can change the input format during streaming.
FALSEThe 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

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

Asynchronous MFTs
Transform Attributes
IMFAttributes::GetUINT32
IMFAttributes::SetUINT32
IMFTransform

 

 

Community Additions

ADD
Show:
© 2014 Microsoft