deinterlace: reduce noise when gst_pad_set_caps fails
authorMathieu Duponchelle <mathieu@centricular.com>
Mon, 12 Jul 2021 23:27:45 +0000 (01:27 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 13 Jul 2021 06:52:26 +0000 (06:52 +0000)
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>

gst/deinterlace/gstdeinterlace.c

index 3fba2d2..e3fc594 100644 (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);