]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Update from 1.13+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 29 Jan 2018 22:06:59 +0000 (23:06 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 29 Jan 2018 22:06:59 +0000 (23:06 +0100)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-base-1.0.vapi

index 09acc0523b31356dd3f2a2371c2ceea019cd53e0..4245c71f1ff96234059dd90482eb791e29c74f52 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 ();