What does HRESULT 0xC00D1B5A (NS_E_NOMATCHING_MEDIASOURCE) mean?

 
Previous Next
NS_E_BAD_MARKOUT NS_E_UNSUPPORTED_SOURCETYPE

NS_E_NOMATCHING_MEDIASOURCE

Diagnostic meaning beyond the standard text

For NS_E_NOMATCHING_MEDIASOURCE (0xC00D1B5A), the actionable event is selection of a source stream whose media type matches the requested source kind.

Why the session can reach this point

The Encoder object model groups audio, video and script inputs in an IWMEncSourceGroup, associates one profile with that group, and asks a source plug-in to expose a media format that can feed the selected output streams.

Successful creation of the COM objects does not prove that the source group is complete; profile assignment, source discovery and format negotiation are later checkpoints. One concrete way to reach the condition is that an AVI contains video and data streams but no audio stream for the added audio source.

Decision path

  1. Record 0xC00D1B5A, the Encoder version and the exact API call or property access that returned it.
  2. Export the current .wme or .prx configuration, then capture enumerated streams, major/subtype for each stream and the audio/video/script source type requested by the source group.
  3. Verify the source groups, streams and plug-ins precondition without changing the source, profile and output sink at the same time.
  4. Run one controlled comparison that changes only the identified precondition: select the stream carrying the required media type or revise the source-group stream type.

Codes with similar symptoms but different owners

ResultWhy it differs
NS_E_UNSUPPORTED_SOURCETYPEdispatch from the configured source type to an Encoder source plug-in
NS_E_TOO_MANY_AUDIOenforcement of the source-group limit for audio inputs
NS_E_TOO_MANY_VIDEOenforcement of the source-group limit for video inputs

Safe recovery

Select the stream carrying the required media type or revise the source-group stream type.

Do not delete and recreate every source group before exporting the .wme configuration and recording the active group; otherwise the failing object relation is lost.

Source material


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