]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.15+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 16 Jul 2018 10:49:37 +0000 (12:49 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 16 Jul 2018 10:49:37 +0000 (12:49 +0200)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-base-1.0.vapi

index 73469299254dcb0cc60fde0b806ff3329ca1d00f..c153a599a43ad861634b5d3bd7a57547f341a514 100644 (file)
@@ -1730,6 +1730,8 @@ namespace Gst {
                public int lockstate;
                public int refcount;
                public GLib.Type type;
+               [Version (since = "1.16")]
+               public void add_parent (Gst.MiniObject parent);
                [CCode (simple_generics = true)]
                public T get_qdata<T> (GLib.Quark quark);
                public bool is_writable ();
@@ -1737,6 +1739,8 @@ namespace Gst {
                [ReturnsModifiedPointer]
                public Gst.MiniObject make_writable ();
                public unowned Gst.MiniObject @ref ();
+               [Version (since = "1.16")]
+               public void remove_parent (Gst.MiniObject parent);
                public static bool replace (ref Gst.MiniObject? olddata, Gst.MiniObject? newdata);
                [CCode (simple_generics = true)]
                public void set_qdata<T> (GLib.Quark quark, owned T data);
index 6ca526c2cdcebe4533d7aa41262475a9a61d3532..f31324f0cee0d97c06377497206a33cf3f03c74d 100644 (file)
@@ -917,6 +917,9 @@ namespace Gst {
                public static Gst.Buffer audio_buffer_clip (owned Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_reorder_channels")]
                public static bool audio_buffer_reorder_channels (Gst.Buffer buffer, Gst.Audio.Format format, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] to);
+               [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_truncate")]
+               [Version (since = "1.16")]
+               public static Gst.Buffer audio_buffer_truncate (owned Gst.Buffer buffer, int bpf, size_t trim, size_t samples);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_get_fallback_mask")]
                [Version (since = "1.8")]
                public static uint64 audio_channel_get_fallback_mask (int channels);
index 0b629e666ace2caa7caf4209167c779c403304ee..21d37e7af763e27de12370a44b07bd92827b78f3 100644 (file)
@@ -581,6 +581,8 @@ namespace Gst {
                        [Version (since = "1.2")]
                        public uint64 get_max_bitrate ();
                        public int64 get_max_lateness ();
+                       [Version (since = "1.16")]
+                       public Gst.ClockTime get_processing_deadline ();
                        public Gst.ClockTime get_render_delay ();
                        public bool get_sync ();
                        public uint64 get_throttle_time ();
@@ -615,6 +617,8 @@ namespace Gst {
                        [Version (since = "1.2")]
                        public void set_max_bitrate (uint64 max_bitrate);
                        public void set_max_lateness (int64 max_lateness);
+                       [Version (since = "1.16")]
+                       public void set_processing_deadline (Gst.ClockTime processing_deadline);
                        public void set_qos_enabled (bool enabled);
                        public void set_render_delay (Gst.ClockTime delay);
                        public void set_sync (bool sync);
@@ -642,6 +646,8 @@ namespace Gst {
                        [Version (since = "1.2")]
                        public uint64 max_bitrate { get; set; }
                        public int64 max_lateness { get; set; }
+                       [Version (since = "1.16")]
+                       public uint64 processing_deadline { get; set; }
                        [NoAccessorMethod]
                        public bool qos { get; set; }
                        public uint64 render_delay { get; set; }