From: Víctor Manuel Jáquez Leal Date: Thu, 19 Mar 2009 11:41:22 +0000 (+0100) Subject: gstreamer-0.10: caps in gst_pad_set_caps can be nullable X-Git-Tag: 0.6.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3fcf4dff2dbf92d14cbc6415f334af22644dbe;p=thirdparty%2Fvala.git gstreamer-0.10: caps in gst_pad_set_caps can be nullable According to the documentation, the caps argument in gst_pad_set_caps can be nullable. Fixes bug 576061. --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index c25376ff2..87f861b88 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -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); diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata index b32627c1f..030c2e675 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata @@ -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"