mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
sys/xvimage/xvimagesink.c: Don't assert on caps==NULL.
Original commit message from CVS: * sys/xvimage/xvimagesink.c: Don't assert on caps==NULL.
This commit is contained in:
parent
60bf63486b
commit
13759bcbff
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-10-11 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* sys/xvimage/xvimagesink.c:
|
||||
Don't assert on caps==NULL.
|
||||
|
||||
2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/subparse/gstsubparse.c:
|
||||
|
|
|
@ -517,6 +517,9 @@ gst_xvimagesink_xvimage_new (GstXvImageSink * xvimagesink, GstCaps * caps)
|
|||
|
||||
g_return_val_if_fail (GST_IS_XVIMAGESINK (xvimagesink), NULL);
|
||||
|
||||
if (caps == NULL)
|
||||
return NULL;
|
||||
|
||||
xvimage = (GstXvImageBuffer *) gst_mini_object_new (GST_TYPE_XVIMAGE_BUFFER);
|
||||
GST_DEBUG_OBJECT (xvimage, "Creating new XvImageBuffer");
|
||||
|
||||
|
|
Loading…
Reference in a new issue