From 2c85fd1be94c1f3f03294beaf750d45bc9418f6c Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Tue, 13 Jul 2021 01:27:45 +0200 Subject: [PATCH] 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: --- gst/deinterlace/gstdeinterlace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 3fba2d2..e3fc594 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -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); -- 2.7.4