]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-base-1.0: Fix PushSrc.create/alloc() binding
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 14 Sep 2016 14:26:39 +0000 (16:26 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 14 Sep 2016 14:26:39 +0000 (16:26 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=762499

vapi/gstreamer-base-1.0.vapi
vapi/metadata/GstBase-1.0.metadata

index f40ac914dac481fd58d90d4f554bdddce3dfce92..ad1741268b129239a5f3b98132ae3acba4732c74 100644 (file)
@@ -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);
                }
index ce3a7cc80de3885237860533786e204ee6c279c8..24c7b97c23569d3ec00ebd958ad65f3357aad6b8 100644 (file)
@@ -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