The failure on compressed format (e.g., MJPG, H264 subtypes) is expected.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1468>
format = gst_media_capture_subtype_to_video_format (subtype);
if (format.empty()) {
- GST_FIXME ("Unhandled subtype %s", subtype.c_str());
+ GST_DEBUG ("Unhandled subtype %s", subtype.c_str());
return E_FAIL;
}
GstWinRTMediaDescription media_desc;
hr = media_desc.Fill(source_id, desc);
- if (!gst_mf_result(hr))
+ if (FAILED (hr))
continue;
source_list_.push_back(media_desc);