From: Rico Tzschichholz Date: Mon, 29 Jan 2018 22:06:59 +0000 (+0100) Subject: gstreamer-1.0: Update from 1.13+ git master X-Git-Tag: 0.38.6~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88258b991191fa21bd2cb46a796e1a0791d38763;p=thirdparty%2Fvala.git gstreamer-1.0: Update from 1.13+ git master --- diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index 09acc0523..4245c71f1 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 ();