mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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:
parent
79cdbc37d5
commit
efd473fdd0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue