From: Rico Tzschichholz Date: Thu, 25 Jan 2018 16:05:45 +0000 (+0100) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.39.6~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbae7171ad6b55e479703b9435e3a3ffafb9d612;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 63214de7f..268bdc656 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 d4b13ae40..521f5ef0e 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 2b2a7ed32..8f6f10572 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 ();