deinterlace: reduce noise when gst_pad_set_caps fails

It may be that downstream is simply flushing, in which case logging
an error is misleading.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1029>
This commit is contained in:
Mathieu Duponchelle 2021-07-13 01:27:45 +02:00 committed by GStreamer Marge Bot
parent a6d6e99f59
commit 2c85fd1be9

View file

@ -3002,7 +3002,7 @@ invalid_caps:
}
set_caps_failed:
{
GST_ERROR_OBJECT (pad, "Failed to set caps: %" GST_PTR_FORMAT, srccaps);
GST_INFO_OBJECT (pad, "Failed to set caps: %" GST_PTR_FORMAT, srccaps);
if (peercaps)
gst_caps_unref (peercaps);
gst_caps_unref (srccaps);