]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Fix ElementFactory.get_static_pad_templates return type
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 3 Feb 2014 22:16:32 +0000 (23:16 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Mon, 3 Feb 2014 22:17:25 +0000 (23:17 +0100)
Fixes bug 720694

vapi/gstreamer-1.0.vapi
vapi/metadata/Gst-1.0.metadata

index ea5c6698a78c8bc544dfe4a0d89c6f4952f0fc5d..e042461da15d001e4c7d3078c4ddde2c96d23ed3 100644 (file)
@@ -948,7 +948,7 @@ namespace Gst {
                [CCode (array_length = false, array_null_terminated = true)]
                public string[]? get_metadata_keys ();
                public uint get_num_pad_templates ();
-               public unowned GLib.List<Gst.StaticPadTemplate> get_static_pad_templates ();
+               public unowned GLib.List<weak Gst.StaticPadTemplate?> get_static_pad_templates ();
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_uri_protocols ();
                public Gst.URIType get_uri_type ();
index 04306f153bd66220bfab890d09a8f8b0bacd273f..6b0f22770233830629fbae2698c46348ec545049 100644 (file)
@@ -31,7 +31,7 @@ Buffer
   .iterate_meta nullable
 ElementFactory
   .get_metadata_keys nullable
-
+  .get_static_pad_templates type="unowned GLib.List<unowned Gst.StaticPadTemplate?>"
 // Variadic
 Bin
   .add_many skip=false