MF_TRANSFORM_ASYNC_UNLOCK attribute

Enables the use of an asynchronous Media Foundation transform (MFT).

Data type

UINT32

Syntax

DECLSPEC_SELECTANY GUID MF_TRANSFORM_ASYNC_UNLOCK = {0xe5666d6b,0x3422,0x4eb6,{0xa4,0x21,0xda,0x7d,0xb1,0xf8,0xe2,0x7} }  

Get/set

To get this attribute, call IMFAttributes::GetUINT32

To set this attribute, call IMFAttributes::SetUINT32

Remarks

Asynchronous MFTs are not compatible with earlier versions of Microsoft Media Foundation. To prevent existing applications from accidentally using an asynchronous MFT, this attribute must be set to a nonzero value before an asynchronous MFT can be used. The Microsoft Media Foundation pipeline automatically sets the attribute, so that most applications do not need to use this attribute. However, if an application uses an asynchronous MFT outside of the Microsoft Media Foundation pipeline, the application must set this attribute.

Synchronous MFTs do not require this attribute.

To test whether an MFT is asynchronous, get the value of the MF_TRANSFORM_ASYNC attribute on the MFT.

Requirements

Header: Declared in mftransform.h.