What does HRESULT 0xC00D36D7 (MF_E_NO_CLOCK) mean?

 
Previous Next
MF_E_NOT_AVAILABLE MF_E_MULTIPLE_BEGIN

MF_E_NO_CLOCK

MF_E_NO_CLOCK means a clock-dependent operation was requested from an object that has no usable clock reference. In a Media Foundation playback pipeline, the Media Session normally creates a presentation clock and all timed media sinks share it for synchronization.

Identify which layer should supply the clock

  • For Media Session playback, obtain the session clock with IMFMediaSession::GetClock after the session has the required presentation infrastructure.
  • For a custom sink, verify that SetPresentationClock was called and that clock registration was not removed during a topology change.
  • Do not assume a Source Reader has a presentation clock; Microsoft explicitly documents that it does not manage presentation timing or A/V synchronization.

This differs from MF_E_CLOCK_NO_TIME_SOURCE: in that case a presentation clock object exists, but no time source has been assigned to drive it.

Microsoft: presentation clock · Microsoft: IMFMediaSession::GetClock · Microsoft: Source Reader timing limitations


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