Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Signals the multiplexer to process all queued output media samples. Call this method after passing the last sample to the multiplexer.
Syntax
HRESULT Flush();
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
Remarks
You must call Flush after the last sample has been passed into the ASF multiplexer and before you call IMFASFMultiplexer::End. This causes all output media samples in progress to be completed. After calling Flush, call IMFASFMultiplexer::GetNextPacket in a loop until all the pending media samples have been packetized.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wmcontainer.h |
| Library | Mfuuid.lib |