]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 25 Jan 2018 16:05:45 +0000 (17:05 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 25 Jan 2018 16:05:45 +0000 (17:05 +0100)
vapi/gio-2.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-base-1.0.vapi

index 63214de7f2c6408eb59643db34dd15f9f12cd410..268bdc656ba887c043e17b1dba19cac0a8b8316c 100644 (file)
@@ -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 ()")]
index d4b13ae40d7dc27c40da9c7a216667879449c991..521f5ef0e0a8f469bb2554ac02ae4ff28f8cb40c 100644 (file)
@@ -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; }
index 2b2a7ed32ee61c5b0955bb781a0ff5ae0e5379e0..8f6f105720b44c5f7e39b76f1aaae4b8a04e24f3 100644 (file)
@@ -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 ();