MFT_MESSAGE_COMMAND_FLUSH

Requests a Media Foundation transform (MFT) to flush all stored data.

Message Parameter

None.

Remarks

To send this message, call IMFTransform::ProcessMessage.

After this message is sent, the MFT can accept new input samples. The current media types are not invalidated.

Implementation

All MFTs must implement this message. When it receives this message, the MFT should discard any media samples it is holding.

Asynchronous MFTs: The MFT does not send another METransformNeedInput event until it receives an MFT_MESSAGE_NOTIFY_START_OF_STREAM message from the client.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mftransform.h

See also

MFT_MESSAGE_TYPE