[vala] gstreamer-0.10: Fix gst_element_get_compatible_pad binding



commit 02f853f2900d30f97a95c8df64e6319d5f5f284b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Mar 12 15:23:53 2009 +0200

    gstreamer-0.10: Fix gst_element_get_compatible_pad binding
    
    Caps parameter of gst_element_get_compatible_pad is nullable.
---
 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 00ba35e..872ee0a 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -330,7 +330,7 @@ namespace Gst {
 		public Gst.ClockTime get_base_time ();
 		public Gst.Bus get_bus ();
 		public unowned Gst.Clock get_clock ();
-		public unowned Gst.Pad get_compatible_pad (Gst.Pad pad, Gst.Caps caps);
+		public unowned Gst.Pad get_compatible_pad (Gst.Pad pad, Gst.Caps? caps);
 		public unowned Gst.PadTemplate get_compatible_pad_template (Gst.PadTemplate compattempl);
 		public unowned Gst.ElementFactory get_factory ();
 		public virtual unowned Gst.Index get_index ();
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 107eda0..cffe2d2 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -84,6 +84,7 @@ gst_element_make_from_uri.elementname nullable="1"
 gst_element_get_static_pad transfer_ownership="1" nullable="1"
 gst_element_class_get_pad_template_list type_arguments="Pad"
 gst_element_post_message.message takes_ownership="1"
+gst_element_get_compatible_pad.caps nullable="1"
 GstElementDetails is_value_type="1"
 gst_element_factory_make transfer_ownership="1" nullable="1"
 gst_element_factory_make.name nullable="1"



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