Site icon EfmSoft

What does HRESULT 0xC00DABE6 (MF_E_CAPTURE_SOURCE_NO_INDEPENDENT_PHOTO_STREAM_PRESENT) mean?

 
Previous Next
MF_E_CAPTURE_ENGINE_ALL_EFFECTS_REMOVED MF_E_CAPTURE_SOURCE_NO_VIDEO_STREAM_PRESENT

MF_E_CAPTURE_SOURCE_NO_INDEPENDENT_PHOTO_STREAM_PRESENT

MF_E_CAPTURE_SOURCE_NO_INDEPENDENT_PHOTO_STREAM_PRESENT is about the stream layout exposed by the active capture device. Capture Engine assigns categories to source streams, including photo streams, and the device can expose a photo path that is independent from the video stream or rely on another capture path.

Enumerate stream categories instead of assuming a camera layout

Use GetDeviceStreamCount and call GetDeviceStreamCategory for each source stream. Record the source stream index, category, and current media type. Keep the friendly Capture Engine stream identifiers separate from actual device stream indexes when translating with GetStreamIndexFromFriendlyName.

This HRESULT should not be treated as proof that the camera has no still-image capability at all. It states that the requested path needs an independent photo stream and the current source does not provide one. Select a photo configuration supported by the enumerated source layout or use an appropriate video-derived still-image workflow when the application design allows it.

Microsoft: IMFCaptureSource · Microsoft: capture stream categories · Microsoft: TakePhoto


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

Exit mobile version