]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: caps in gst_pad_set_caps can be nullable
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 19 Mar 2009 11:41:22 +0000 (12:41 +0100)
committerJürg Billeter <j@bitron.ch>
Sun, 29 Mar 2009 14:35:49 +0000 (16:35 +0200)
According to the documentation, the caps argument in
gst_pad_set_caps can be nullable.

Fixes bug 576061.

vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index c25376ff2ee4487c92b152b83564a73e207f25d9..87f861b88e573c21f62f46d1b9d33b9f08fcb2cf 100644 (file)
@@ -802,7 +802,7 @@ namespace Gst {
                public bool set_blocked (bool blocked);
                public bool set_blocked_async (bool blocked, Gst.PadBlockCallback callback);
                public void set_bufferalloc_function (Gst.PadBufferAllocFunction bufalloc);
-               public bool set_caps (Gst.Caps caps);
+               public bool set_caps (Gst.Caps? caps);
                public void set_chain_function (Gst.PadChainFunction chain);
                public void set_checkgetrange_function (Gst.PadCheckGetRangeFunction check);
                public void set_element_private (void* priv);
index b32627c1fa627ad253919dbfa1bd5a9fa749b210..030c2e675156fbb7f6ab147039c4900482c49066 100644 (file)
@@ -215,6 +215,7 @@ gst_pad_push.buffer takes_ownership="1"
 gst_pad_push_event.event takes_ownership="1"
 gst_pad_send_event.event takes_ownership="1"
 gst_pad_set_query_type_function hidden="1"
+gst_pad_set_caps.caps nullable="1"
 gst_pad_template_new.caps takes_ownership="1"
 gst_ghost_pad_new.name nullable="1"
 gst_ghost_pad_set_target.newtarget nullable="1"