| Previous | Next |
| MF_E_QUALITYKNOB_WAIT_LONGER | MF_E_TRANSCODE_NO_CONTAINERTYPE |
MF_E_QM_INVALIDSTATE
MF_E_QM_INVALIDSTATE reports a Quality Manager state problem: quality management is off at the time of the requested operation. The failure belongs to Quality Manager lifecycle and topology state rather than to the syntax of a media sample.
Correlate the operation with topology and shutdown notifications
- Log the Media Session state and the Quality Manager callback or control path that produced the HRESULT.
- For a custom
IMFQualityManager, traceNotifyTopology,NotifyPresentationClock, quality events, andShutdownin order. - Remember that
NotifyTopology(NULL)is the signal to release references to the previous topology. Do not continue issuing adjustments through staleIMFQualityAdvisepointers.
A typical quality manager enumerates the current topology during NotifyTopology and obtains IMFQualityAdvise from adjustable pipeline objects. Media Foundation also allows an application to replace the default playback-tuned quality manager with a custom implementation. When this HRESULT occurs, first prove that the quality operation belongs to the currently active topology and lifecycle phase; changing decoder settings will not re-enable a Quality Manager that is currently off.
Microsoft: IMFQualityManager · Microsoft: IMFQualityManager::NotifyTopology · Microsoft: IMFQualityAdvise
Looking for a different code? Search another status or error code.