[vala] gstreamer-0.10: caps in gst_pad_set_caps can be nullable



commit ff3fcf4dff2dbf92d14cbc6415f334af22644dbe
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Thu Mar 19 12:41:22 2009 +0100

    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.
---
 vapi/gstreamer-0.10.vapi                           |    2 +-
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index c25376f..87f861b 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 b32627c..030c2e6 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]