Commit c2d7af84 authored by Stefan Kost's avatar Stefan Kost
Browse files

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
parent ebe1f683
2006-08-20 Stefan Kost <ensonic@users.sf.net>
* 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
2006-08-18 Wim Taymans <wim@fluendo.com>
 
* docs/libs/gst-plugins-base-libs-sections.txt:
......
......@@ -299,7 +299,7 @@ gst_audio_convert_get_unit_size (GstBaseTransform * base, GstCaps * caps,
{
AudioConvertFmt fmt = { 0 };
g_return_val_if_fail (size, FALSE);
g_assert (size);
if (!gst_audio_convert_parse_caps (caps, &fmt))
goto parse_error;
......@@ -399,7 +399,7 @@ set_structure_widths (GstStructure * s, int min, int max)
for (width = min; width <= max; width += 8) {
g_value_set_int (&val, width);
gst_value_list_append_value (&list, &val);
GST_DEBUG ("Appended width %d to widths available", width);
GST_LOG ("Appended width %d to widths available", width);
}
gst_structure_set_value (s, "width", &list);
g_value_unset (&val);
......
......@@ -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);
......
......@@ -384,7 +384,7 @@ gst_ffmpegcsp_get_unit_size (GstBaseTransform * btrans, GstCaps * caps,
AVCodecContext *ctx = NULL;
gint width, height;
g_return_val_if_fail (size, FALSE);
g_assert (size);
space = GST_FFMPEGCSP (btrans);
......
......@@ -532,7 +532,7 @@ gst_video_scale_get_unit_size (GstBaseTransform * trans, GstCaps * caps,
gint format, width, height;
VSImage img;
g_return_val_if_fail (size, FALSE);
g_assert (size);
videoscale = GST_VIDEO_SCALE (trans);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment