| Previous | Next |
| MF_E_TOPO_MISSING_PRESENTATION_DESCRIPTOR | MF_E_TOPO_STREAM_DESCRIPTOR_NOT_SELECTED |
MF_E_TOPO_MISSING_STREAM_DESCRIPTOR
MF_E_TOPO_MISSING_STREAM_DESCRIPTOR means the topology contains a source-stream node without the stream descriptor for the stream represented by that node. The topology loader needs this descriptor to determine the stream's media type and identity.
Build nodes from presentation-descriptor enumeration
- Call
GetStreamDescriptorByIndexon the source's presentation descriptor. - For each selected stream, attach the returned
IMFStreamDescriptorwithMF_TOPONODE_STREAM_DESCRIPTOR. - Keep the node's media source and presentation descriptor consistent with the stream descriptor's origin.
Querying IMFMediaStream::GetStreamDescriptor later is not a replacement for correctly constructing the topology node. Microsoft also advises modifying stream selection through the presentation descriptor rather than editing a stream descriptor directly.
Microsoft: creating playback topologies · Microsoft: stream descriptor enumeration · Microsoft: IMFMediaStream::GetStreamDescriptor
Looking for a different code? Search another status or error code.