What does HRESULT 0xC00D5216 (MF_E_TOPO_LOOPS_IN_TOPOLOGY) mean?

 
Previous Next
MF_E_TOPO_INVALID_TIME_ATTRIBUTES MF_E_TOPO_MISSING_PRESENTATION_DESCRIPTOR

MF_E_TOPO_LOOPS_IN_TOPOLOGY

MF_E_TOPO_LOOPS_IN_TOPOLOGY is a structural graph error. A Media Foundation topology describes media flow from source nodes through transforms to output nodes; cycles are not supported.

Find the back edge in the topology graph

  • Enumerate every topology node ID and each connected output index, then run a simple depth-first cycle check on the resulting directed graph.
  • Pay special attention to tee-node branch construction and code that reconnects nodes after dynamic topology changes.
  • Remove stale connections before reusing or rebuilding topology nodes.

A processing algorithm may conceptually use feedback, but that feedback cannot be expressed by connecting a downstream topology node back to an upstream node. Implement such control outside the Media Foundation media-flow graph or inside an appropriate component.

Microsoft: Media Foundation topologies · Microsoft: creating playback topologies


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