mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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
This commit is contained in:
parent
83bedf3e07
commit
f9dd03ca3b
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2006-08-20 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
|
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
|
||||||
|
|
|
@ -306,7 +306,7 @@ gst_pixbufscale_get_unit_size (GstBaseTransform * trans,
|
||||||
GstPixbufScale *pixbufscale;
|
GstPixbufScale *pixbufscale;
|
||||||
gint width, height;
|
gint width, height;
|
||||||
|
|
||||||
g_return_val_if_fail (size, FALSE);
|
g_assert (size);
|
||||||
|
|
||||||
pixbufscale = GST_PIXBUFSCALE (trans);
|
pixbufscale = GST_PIXBUFSCALE (trans);
|
||||||
|
|
||||||
|
|
|
@ -440,7 +440,8 @@ gst_video_box_get_unit_size (GstBaseTransform * trans, GstCaps * caps,
|
||||||
guint32 fourcc;
|
guint32 fourcc;
|
||||||
gint width, height;
|
gint width, height;
|
||||||
|
|
||||||
g_return_val_if_fail (size, FALSE);
|
g_assert (size);
|
||||||
|
|
||||||
video_box = GST_VIDEO_BOX (trans);
|
video_box = GST_VIDEO_BOX (trans);
|
||||||
|
|
||||||
structure = gst_caps_get_structure (caps, 0);
|
structure = gst_caps_get_structure (caps, 0);
|
||||||
|
|
Loading…
Reference in a new issue