]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Fix gst_element_get_compatible_pad binding
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 12 Mar 2009 13:23:53 +0000 (15:23 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 17 Mar 2009 14:30:00 +0000 (15:30 +0100)
Caps parameter of gst_element_get_compatible_pad is nullable.

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

index 00ba35e4eab60275ae1a5f5dd8d064004929c968..872ee0a87015c55c9c4c5b847bd6d9e0b073f7ec 100644 (file)
@@ -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 ();
index 107eda02473684897441d268e3855b9e48feb78c..cffe2d255098d0ebf15e5b2abc8c1a62afe971b1 100644 (file)
@@ -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"