From 89a5cae89b9dd26cccea13ea4feb68d9429ef75d Mon Sep 17 00:00:00 2001 From: Hou Qi Date: Wed, 2 Mar 2022 12:15:19 +0800 Subject: [PATCH] encodebasebin: Use GST_DEBUG instead of GST_ERROR when skipping muxer _get_muxer() skips the muxers that do not satisfy the requirement and select the desired one. It should not print error log, so use debug log instead. Part-of: --- subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c b/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c index 0054433449..a62e86adbf 100644 --- a/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c +++ b/subprojects/gst-plugins-base/gst/encoding/gstencodebasebin.c @@ -2144,7 +2144,7 @@ _get_muxer (GstEncodeBaseBin * ebin) GstCaps *sformat = gst_encoding_profile_get_format (sprof); if (!_factory_can_handle_caps (muxerfact, sformat, GST_PAD_SINK, FALSE)) { - GST_ERROR ("Skipping muxer because it can't sink caps %" + GST_DEBUG ("Skipping muxer because it can't sink caps %" GST_PTR_FORMAT, sformat); cansinkstreams = FALSE; if (sformat)