| Previous | Next |
| MF_E_ASF_FILESINK_BITRATE_UNKNOWN | MF_E_METADATA_TOO_LONG |
MF_E_SINK_NO_STREAMS
MF_E_SINK_NO_STREAMS means sink-level work was requested without any usable selected stream in the sink presentation configuration. A media sink is a destination for one or more streams, and each stream sink processes the data for one stream.
Verify stream selection before starting output
- Enumerate the sink's stream sinks and record their identifiers and current media types.
- When a presentation descriptor participates in the setup, log which stream descriptors are selected before topology resolution or sink startup.
- Check code that removes streams or rebuilds a topology so it does not leave the sink object alive with an empty effective stream set.
Adding arbitrary dummy samples is not a fix; the sink needs a configured stream path that can accept those samples. Distinguish this error from a fixed-stream sink, where streams exist but cannot be dynamically added or removed.
Microsoft: media sinks · Microsoft: IMFMediaSink stream enumeration · Microsoft: sink characteristics
Looking for a different code? Search another status or error code.