mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_size
Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_get_unit_size), (set_structure_widths): Lower debug, use g_assert in _get_unit_size * gst/audioresample/gstaudioresample.c: (audioresample_get_unit_size): * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_unit_size): * gst/videoscale/gstvideoscale.c: (gst_video_scale_get_unit_size): use g_assert in _get_unit_size
This commit is contained in:
parent
609053dae0
commit
f59ca21a50
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps,
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
g_return_val_if_fail (size, FALSE);
|
g_assert (size);
|
||||||
|
|
||||||
/* this works for both float and int */
|
/* this works for both float and int */
|
||||||
structure = gst_caps_get_structure (caps, 0);
|
structure = gst_caps_get_structure (caps, 0);
|
||||||
|
|
Loading…
Reference in a new issue