Commit f9dd03ca authored by Stefan Kost's avatar Stefan Kost

use g_assert in _get_unit_size

Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_get_unit_size):
* gst/videobox/gstvideobox.c: (gst_video_box_get_unit_size):
use g_assert in _get_unit_size
parent 83bedf3e
2006-08-20 Stefan Kost <ensonic@users.sf.net>
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_get_unit_size):
* gst/videobox/gstvideobox.c: (gst_video_box_get_unit_size):
use g_assert in _get_unit_size
2006-08-20 Stefan Kost <ensonic@users.sf.net>
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
......
......@@ -306,7 +306,7 @@ gst_pixbufscale_get_unit_size (GstBaseTransform * trans,
GstPixbufScale *pixbufscale;
gint width, height;
g_return_val_if_fail (size, FALSE);
g_assert (size);
pixbufscale = GST_PIXBUFSCALE (trans);
......
......@@ -440,7 +440,8 @@ gst_video_box_get_unit_size (GstBaseTransform * trans, GstCaps * caps,
guint32 fourcc;
gint width, height;
g_return_val_if_fail (size, FALSE);
g_assert (size);
video_box = GST_VIDEO_BOX (trans);
structure = gst_caps_get_structure (caps, 0);
......
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