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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5832>
This commit is contained in:
Guillaume Desmottes 2023-12-18 10:28:18 +01:00 committed by Tim-Philipp Müller
parent 79cdbc37d5
commit efd473fdd0

View file

@ -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;
}
}