What does HRESULT 0xC00D4653 (MF_E_FLUSH_NEEDED) mean?

 
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

  1. Call IMFASFMultiplexer::Flush to packetize pending media samples.
  2. Call GetNextPacket in a loop and write every returned packet.
  3. 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.