| Previous | Next |
| MF_E_UNSUPPORTED_D3D_TYPE | MF_E_TRANSFORM_CANNOT_INITIALIZE_ACM_DRIVER |
MF_E_TRANSFORM_ASYNC_LOCKED
MF_E_TRANSFORM_ASYNC_LOCKED is the compatibility lock defined for asynchronous Media Foundation transforms. An async MFT advertises MF_TRANSFORM_ASYNC = TRUE; the client must opt into the asynchronous processing model by setting MF_TRANSFORM_ASYNC_UNLOCK to TRUE.
Check the transform attributes before normal IMFTransform calls
- Call
GetAttributesand queryMF_TRANSFORM_ASYNC. - If it is nonzero, set
MF_TRANSFORM_ASYNC_UNLOCKbefore entering the async event-driven processing loop. - Use
METransformNeedInputandMETransformHaveOutputrather than the synchronous polling assumptions used by basic MFTs.
Until unlocked, most IMFTransform methods should return this HRESULT; Microsoft documents only a small set of discovery and encoder-type methods as exceptions. The Media Foundation pipeline performs the unlock automatically, but a custom MFT host must do it itself.
Microsoft: asynchronous MFTs and unlocking · Microsoft: MF_TRANSFORM_ASYNC · Wine: mferror.h
Looking for a different code? Search another status or error code.
