diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-20 13:05:43 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-20 13:05:43 +0000 |
commit | f59ca21a50ed7bb941264c3362f595a61d0da869 (patch) | |
tree | 253c991629a0058e16c6def5ab7a54bc35c8ff44 /gst/audioresample | |
parent | 609053dae077abd02c58f291bb45a7a54480b38d (diff) | |
download | gst-plugins-bad-f59ca21a50ed7bb941264c3362f595a61d0da869.tar.gz gst-plugins-bad-f59ca21a50ed7bb941264c3362f595a61d0da869.tar.bz2 gst-plugins-bad-f59ca21a50ed7bb941264c3362f595a61d0da869.zip |
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
Diffstat (limited to 'gst/audioresample')
-rw-r--r-- | gst/audioresample/gstaudioresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index c878d02e..5954b2b7 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -237,7 +237,7 @@ audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps, GstStructure *structure; gboolean ret; - g_return_val_if_fail (size, FALSE); + g_assert (size); /* this works for both float and int */ structure = gst_caps_get_structure (caps, 0); |