mfvideosrc: Suppress more spammy debug messages

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>
This commit is contained in:
Seungha Yang 2020-07-26 05:42:27 +09:00
parent 798249dc9f
commit 42de98fd42

View file

@ -174,7 +174,7 @@ GstWinRTMediaDescription::Fill(HString &source_id,
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;
}
@ -363,7 +363,7 @@ GstWinRTMediaFrameSourceGroup::Fill
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);