diff options
Diffstat (limited to 'gst')
-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); |