[vala] gstreamer-base-1.0: Fix PushSrc.create/alloc() binding



commit c6dda6bc5f99c9b70d3f9cc1f1ceddf7d0347157
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Sep 14 16:26:39 2016 +0200

    gstreamer-base-1.0: Fix PushSrc.create/alloc() binding
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762499

 vapi/gstreamer-base-1.0.vapi       |    4 ++--
 vapi/metadata/GstBase-1.0.metadata |    4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index f40ac91..ad17412 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -463,9 +463,9 @@ namespace Gst {
                        [CCode (has_construct_function = false)]
                        protected PushSrc ();
                        [NoWrapper]
-                       public virtual Gst.FlowReturn alloc (Gst.Buffer buf);
+                       public virtual Gst.FlowReturn alloc (out Gst.Buffer buf);
                        [NoWrapper]
-                       public virtual Gst.FlowReturn create (Gst.Buffer buf);
+                       public virtual Gst.FlowReturn create (out Gst.Buffer buf);
                        [NoWrapper]
                        public virtual Gst.FlowReturn fill (Gst.Buffer buf);
                }
diff --git a/vapi/metadata/GstBase-1.0.metadata b/vapi/metadata/GstBase-1.0.metadata
index ce3a7cc..24c7b97 100644
--- a/vapi/metadata/GstBase-1.0.metadata
+++ b/vapi/metadata/GstBase-1.0.metadata
@@ -2,6 +2,10 @@
 Base* name="Base(.+)"
 BASE_* name="BASE_(.+)"
 
+PushSrc
+  .create.buf out unowned=false
+  .alloc.buf out unowned=false
+
 // Fields
 BitReader
   .size skip


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