diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/gdk_pixbuf/pixbufscale.c | 2 | ||||
-rw-r--r-- | gst/videobox/gstvideobox.c | 3 |
3 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,11 @@ 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: * docs/plugins/gst-plugins-good-plugins-sections.txt: * docs/plugins/inspect/plugin-audiofxgood.xml: diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c index 78da1b7e..9c4907b1 100644 --- a/ext/gdk_pixbuf/pixbufscale.c +++ b/ext/gdk_pixbuf/pixbufscale.c @@ -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); diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index f3cb715f..f7f9b89f 100644 --- a/gst/videobox/gstvideobox.c +++ b/gst/videobox/gstvideobox.c @@ -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); |