[vala] vapi: Update GIR-based bindings



commit fbae7171ad6b55e479703b9435e3a3ffafb9d612
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Jan 25 17:05:45 2018 +0100

    vapi: Update GIR-based bindings

 vapi/gio-2.0.vapi            |    1 +
 vapi/gstreamer-1.0.vapi      |    4 ++++
 vapi/gstreamer-base-1.0.vapi |   10 ++++++----
 3 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 63214de..268bdc6 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1912,6 +1912,7 @@ namespace GLib {
                public void set_icon (GLib.Icon icon);
                public void set_priority (GLib.NotificationPriority priority);
                public void set_title (string title);
+               [Version (deprecated = true, deprecated_since = "2.42", since = "2.40")]
                public void set_urgent (bool urgent);
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_output_stream_get_type ()")]
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index d4b13ae..521f5ef 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1907,8 +1907,12 @@ namespace Gst {
                [CCode (has_construct_function = false, returns_floating_reference = true)]
                public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence 
presence, Gst.Caps caps);
                [CCode (has_construct_function = false)]
+               [Version (since = "1.14")]
                public PadTemplate.from_static_pad_template_with_gtype (Gst.StaticPadTemplate pad_template, 
GLib.Type pad_type);
                public Gst.Caps get_caps ();
+               [CCode (has_construct_function = false)]
+               [Version (since = "1.14")]
+               public PadTemplate.with_gtype (string name_template, Gst.PadDirection direction, 
Gst.PadPresence presence, Gst.Caps caps, GLib.Type pad_type);
                public Gst.Caps caps { owned get; construct; }
                [NoAccessorMethod]
                public Gst.PadDirection direction { get; construct; }
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index 2b2a7ed..8f6f105 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -114,9 +114,11 @@ namespace Gst {
                        public bool drop_buffer ();
                        [NoWrapper]
                        public virtual Gst.FlowReturn flush (Gst.Base.Aggregator aggregator);
-                       public Gst.Buffer get_buffer ();
                        public bool is_eos ();
-                       public Gst.Buffer steal_buffer ();
+                       public Gst.Buffer peek_buffer ();
+                       public Gst.Buffer pop_buffer ();
+                       [NoWrapper]
+                       public virtual bool skip_buffer (Gst.Base.Aggregator aggregator, Gst.Buffer buffer);
                }
                [CCode (cheader_filename = 
"gst/base/gstadapter.h,gst/base/gstbaseparse.h,gst/base/gstbasesink.h,gst/base/gstbasesrc.h,gst/base/gstbasetransform.h,gst/base/gstbitreader.h,gst/base/gstbytereader.h,gst/base/gstbytewriter.h,gst/base/gstcollectpads.h,gst/base/gstpushsrc.h,gst/base/gsttypefindhelper.h",
 cname = "GstBitReader", has_type_id = false)]
                [Compact]
@@ -666,7 +668,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual Gst.FlowReturn alloc (uint64 offset, uint size, Gst.Buffer buf);
                        [NoWrapper]
-                       public virtual Gst.FlowReturn create (uint64 offset, uint size, Gst.Buffer buf);
+                       public virtual Gst.FlowReturn create (uint64 offset, uint size, out Gst.Buffer buf);
                        [NoWrapper]
                        public virtual bool decide_allocation (Gst.Query query);
                        [NoWrapper]
@@ -686,7 +688,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool get_size (uint64 size);
                        [NoWrapper]
-                       public virtual void get_times (Gst.Buffer buffer, Gst.ClockTime start, Gst.ClockTime 
end);
+                       public virtual void get_times (Gst.Buffer buffer, out Gst.ClockTime start, out 
Gst.ClockTime end);
                        public bool is_async ();
                        [NoWrapper]
                        public virtual bool is_seekable ();


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