diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-20 13:09:51 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-08-20 13:09:51 +0000 |
commit | f9dd03ca3b7e2a66df16b96fd7c1b0d89c6a4250 (patch) | |
tree | cc204b5eb25c28b9dc409e570b4d1624426381d1 /gst/videobox | |
parent | 83bedf3e0712370a55718335ddf6c1ff8f784200 (diff) |
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
Diffstat (limited to 'gst/videobox')
-rw-r--r-- | gst/videobox/gstvideobox.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |