[vala] gstreamer-1.0: Fix ElementFactory.get_static_pad_templates return type



commit 871cf22610d7869afa90c64a014da9bcebcd620f
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon Feb 3 23:16:32 2014 +0100

    gstreamer-1.0: Fix ElementFactory.get_static_pad_templates return type
    
    Fixes bug 720694

 vapi/gstreamer-1.0.vapi        |    2 +-
 vapi/metadata/Gst-1.0.metadata |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index ea5c669..e042461 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -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 ();
diff --git a/vapi/metadata/Gst-1.0.metadata b/vapi/metadata/Gst-1.0.metadata
index 04306f1..6b0f227 100644
--- a/vapi/metadata/Gst-1.0.metadata
+++ b/vapi/metadata/Gst-1.0.metadata
@@ -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


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