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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1830>
This commit is contained in:
Hou Qi 2022-03-02 12:15:19 +08:00 committed by GStreamer Marge Bot
parent 30ddb0cd97
commit 89a5cae89b

View file

@ -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)