| Previous | Next |
| MF_E_LATE_SAMPLE | MF_E_INVALID_PROFILE |
MF_E_FLUSH_NEEDED
MF_E_FLUSH_NEEDED describes a specific ASF multiplexer lifecycle error. IMFASFMultiplexer::End cannot finalize the associated Header Object while complete or in-progress packet data is still waiting in the multiplexer.
Finish the packet-generation sequence
- Call
IMFASFMultiplexer::Flushto packetize pending media samples. - Call
GetNextPacketin a loop and write every returned packet. - Only after no packet remains, call
End.
End updates ASF header information such as packet count, send duration, play duration, and stream numbers. Ignoring the error and writing an old Header Object can leave file metadata inconsistent with the Data Object. This status therefore points to call ordering, not to a need to flush the output file handle or decoder.
Microsoft: post packet-generation calls · Microsoft: ASF multiplexer lifecycle · FFmpeg ASF muxer implementation
Looking for a different code? Search another status or error code.