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/5822>
This commit is contained in:
Guillaume Desmottes 2023-12-18 10:28:18 +01:00 committed by GStreamer Marge Bot
parent 2d57bec920
commit b603095ac3

View file

@ -319,13 +319,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;
}
}