What does HRESULT 0xC00D3E82 (MF_E_INVALID_STATE_TRANSITION) mean?

 
Previous Next
MF_E_NO_EVENTS_AVAILABLE MF_E_END_OF_STREAM

MF_E_INVALID_STATE_TRANSITION

MF_E_INVALID_STATE_TRANSITION is commonly exposed by media source or sink state machines. A documented example is IMFMediaSource::Pause: the source must already be started, so Pause from stopped or already paused state is invalid.

Diagnose the real object state

  • Correlate the failing call with source, stream, session, and clock events; their event queues are asynchronous and are not globally serialized.
  • For a custom media source, allow Pause only from started state and emit the required source and active-stream events when the operation completes.
  • For a stream sink, verify that preroll and presentation-clock state allow the requested sample operation.

A single application-level enum can be misleading if it is updated before Media Foundation completion events arrive. Record the component that returned the HRESULT and its last confirmed event state.

Microsoft: IMFMediaSource::Pause · Microsoft: custom media source state rules · Microsoft: IMFStreamSink::ProcessSample


Looking for a different code? Search another status or error code.