From 02f853f2900d30f97a95c8df64e6319d5f5f284b Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Thu, 12 Mar 2009 15:23:53 +0200 Subject: [PATCH] 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 +- vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 00ba35e4e..872ee0a87 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 107eda024..cffe2d255 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" -- 2.47.2