From efd473fdd02d7b3b85f828765f8c9afead295709 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 18 Dec 2023 10:28:18 +0100 Subject: [PATCH] audioconvert: change gst_audio_convert_get_unit_size() log levels INFO is a bit high for such technical details and best to use WARNING when it fails. Part-of: --- .../gst-plugins-base/gst/audioconvert/gstaudioconvert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/gst/audioconvert/gstaudioconvert.c b/subprojects/gst-plugins-base/gst/audioconvert/gstaudioconvert.c index 474dcaea8f..43f07f54d8 100644 --- a/subprojects/gst-plugins-base/gst/audioconvert/gstaudioconvert.c +++ b/subprojects/gst-plugins-base/gst/audioconvert/gstaudioconvert.c @@ -310,13 +310,13 @@ gst_audio_convert_get_unit_size (GstBaseTransform * base, GstCaps * caps, goto parse_error; *size = info.bpf; - GST_INFO_OBJECT (base, "unit_size = %" G_GSIZE_FORMAT, *size); + GST_DEBUG_OBJECT (base, "unit_size = %" G_GSIZE_FORMAT, *size); return TRUE; parse_error: { - GST_INFO_OBJECT (base, "failed to parse caps to get unit_size"); + GST_WARNING_OBJECT (base, "failed to parse caps to get unit_size"); return FALSE; } }