From: Rico Tzschichholz Date: Mon, 16 Jul 2018 10:49:37 +0000 (+0200) Subject: gstreamer: Update from 1.15+ git master X-Git-Tag: 0.41.90~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc999d753ac2bbafbc3fc9e36307e7a3f91051af;p=thirdparty%2Fvala.git gstreamer: Update from 1.15+ git master --- diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index 734692992..c153a599a 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -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 (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 (GLib.Quark quark, owned T data); diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi index 6ca526c2c..f31324f0c 100644 --- a/vapi/gstreamer-audio-1.0.vapi +++ b/vapi/gstreamer-audio-1.0.vapi @@ -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); diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi index 0b629e666..21d37e7af 100644 --- a/vapi/gstreamer-base-1.0.vapi +++ b/vapi/gstreamer-base-1.0.vapi @@ -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; }