[vala/staging] gstreamer: Update from 1.17.0+ git master



commit 6d63ab105ea6dc3d31d4a25eeb60e3db29685778
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed May 1 16:35:53 2019 +0200

    gstreamer: Update from 1.17.0+ git master

 vapi/gstreamer-1.0.vapi             |  4 +++
 vapi/gstreamer-audio-1.0.vapi       |  4 +++
 vapi/gstreamer-base-1.0.vapi        |  1 +
 vapi/gstreamer-net-1.0.vapi         |  3 ++
 vapi/gstreamer-pbutils-1.0.vapi     |  9 +++++
 vapi/gstreamer-player-1.0.vapi      | 13 +++++++
 vapi/gstreamer-rtsp-1.0.vapi        |  3 ++
 vapi/gstreamer-rtsp-server-1.0.vapi | 37 ++++++++++++++++++++
 vapi/gstreamer-video-1.0.vapi       | 68 +++++++++++++++++++++++++++++++++++--
 9 files changed, 139 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 305c4cb0e..f1d340b3c 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -842,6 +842,7 @@ namespace Gst {
                public void append_structure_full (owned Gst.Structure structure, owned Gst.CapsFeatures? 
features = null);
                public bool can_intersect (Gst.Caps caps2);
                public Gst.Caps copy ();
+               [Version (since = "1.16")]
                public Gst.Caps copy_nth (uint nth);
                [CCode (has_construct_function = false)]
                public Caps.empty ();
@@ -2358,6 +2359,7 @@ namespace Gst {
                public bool get_int (string fieldname, out int value);
                [Version (since = "1.4")]
                public bool get_int64 (string fieldname, out int64 value);
+               [Version (since = "1.12")]
                public bool get_list (string fieldname, out GLib.ValueArray array);
                public unowned string get_name ();
                public GLib.Quark get_name_id ();
@@ -2392,7 +2394,9 @@ namespace Gst {
                public void remove_fields (params string[] field_names);
                public void remove_fields_valist (string fieldname, va_list varargs);
                public void @set (string fieldname, ...);
+               [Version (since = "1.12")]
                public void set_array (string fieldname, GLib.ValueArray array);
+               [Version (since = "1.12")]
                public void set_list (string fieldname, GLib.ValueArray array);
                public void set_name (string name);
                public bool set_parent_refcount (int refcount);
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 8bb630390..5ff80bf23 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -5,6 +5,7 @@ namespace Gst {
        namespace Audio {
                [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_aggregator_get_type ()")]
                [GIR (name = "AudioAggregator")]
+               [Version (since = "1.14")]
                public abstract class Aggregator : Gst.Base.Aggregator {
                        public weak Gst.Caps current_caps;
                        [CCode (has_construct_function = false)]
@@ -23,6 +24,7 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/audio/audio.h", type_id = 
"gst_audio_aggregator_convert_pad_get_type ()")]
                [GIR (name = "AudioAggregatorConvertPad")]
+               [Version (since = "1.14")]
                public class AggregatorConvertPad : Gst.Audio.AggregatorPad {
                        [CCode (has_construct_function = false)]
                        protected AggregatorConvertPad ();
@@ -31,6 +33,7 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/audio/audio.h", type_id = "gst_audio_aggregator_pad_get_type 
()")]
                [GIR (name = "AudioAggregatorPad")]
+               [Version (since = "1.14")]
                public class AggregatorPad : Gst.Base.AggregatorPad {
                        public weak Gst.Audio.Info info;
                        [CCode (has_construct_function = false)]
@@ -934,6 +937,7 @@ namespace Gst {
                [CCode (cheader_filename = "gst/audio/audio.h", cname = 
"gst_audio_channel_positions_to_mask")]
                public static bool audio_channel_positions_to_mask ([CCode (array_length_cname = "channels", 
array_length_pos = 1.5)] Gst.Audio.ChannelPosition[] position, bool force_order, out uint64 channel_mask);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = 
"gst_audio_channel_positions_to_string")]
+               [Version (since = "1.10")]
                public static string audio_channel_positions_to_string ([CCode (array_length_cname = 
"channels", array_length_pos = 1.1)] Gst.Audio.ChannelPosition[] position);
                [CCode (cheader_filename = "gst/audio/audio.h", cname = 
"gst_audio_channel_positions_to_valid_order")]
                public static bool audio_channel_positions_to_valid_order ([CCode (array_length_cname = 
"channels", array_length_pos = 1.1)] Gst.Audio.ChannelPosition[] position);
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index dc075cffb..8a25b3c47 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -820,6 +820,7 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/base/base.h", cname = "GstBitWriter", has_type_id = false)]
                [GIR (name = "BitWriter")]
+               [Version (since = "1.16")]
                public struct BitWriter {
                        public uint8 data;
                        public uint bit_size;
diff --git a/vapi/gstreamer-net-1.0.vapi b/vapi/gstreamer-net-1.0.vapi
index 33d122082..aef871785 100644
--- a/vapi/gstreamer-net-1.0.vapi
+++ b/vapi/gstreamer-net-1.0.vapi
@@ -135,5 +135,8 @@ namespace Gst {
                [CCode (cheader_filename = "gst/net/net.h", cname = "gst_ptp_statistics_callback_remove")]
                [Version (since = "1.6")]
                public static void ptp_statistics_callback_remove (ulong id);
+               [CCode (cheader_filename = "gst/net/net.h")]
+               [Version (since = "1.18")]
+               public static bool utils_set_socket_tos (GLib.Socket socket, int qos_dscp);
        }
 }
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index 62026add8..f0d186a66 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -8,6 +8,7 @@ namespace Gst {
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_aac_caps_set_level_and_profile")]
                                public static bool caps_set_level_and_profile (Gst.Caps caps, [CCode 
(array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[] audio_config);
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_aac_get_channels")]
+                               [Version (since = "1.10")]
                                public static uint get_channels ([CCode (array_length_cname = "len", 
array_length_pos = 1.1, array_length_type = "guint")] uint8[] audio_config);
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_aac_get_index_from_sample_rate")]
                                public static int get_index_from_sample_rate (uint rate);
@@ -16,6 +17,7 @@ namespace Gst {
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_aac_get_profile")]
                                public static unowned string get_profile ([CCode (array_length_cname = "len", 
array_length_pos = 1.1, array_length_type = "guint")] uint8[] audio_config);
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_aac_get_sample_rate")]
+                               [Version (since = "1.10")]
                                public static uint get_sample_rate ([CCode (array_length_cname = "len", 
array_length_pos = 1.1, array_length_type = "guint")] uint8[] audio_config);
                                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_aac_get_sample_rate_from_index")]
                                public static uint get_sample_rate_from_index (uint sr_idx);
@@ -188,6 +190,7 @@ namespace Gst {
                public class EncodingProfile : GLib.Object {
                        [CCode (has_construct_function = false)]
                        protected EncodingProfile ();
+                       [Version (since = "1.12")]
                        public Gst.PbUtils.EncodingProfile copy ();
                        public static Gst.PbUtils.EncodingProfile find (string targetname, string? 
profilename, string? category);
                        public static Gst.PbUtils.EncodingProfile from_discoverer (Gst.PbUtils.DiscovererInfo 
info);
@@ -206,6 +209,7 @@ namespace Gst {
                        public bool is_equal (Gst.PbUtils.EncodingProfile b);
                        public void set_allow_dynamic_output (bool allow_dynamic_output);
                        public void set_description (string? description);
+                       [Version (since = "1.6")]
                        public void set_enabled (bool enabled);
                        public void set_format (Gst.Caps format);
                        public void set_name (string? name);
@@ -333,14 +337,19 @@ namespace Gst {
                [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
                public static bool add_codec_description_to_tag_list (Gst.TagList taglist, string? codec_tag, 
Gst.Caps caps);
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_h265_caps_set_level_tier_and_profile")]
+               [Version (since = "1.4")]
                public static bool codec_utils_h265_caps_set_level_tier_and_profile (Gst.Caps caps, [CCode 
(array_length_cname = "len", array_length_pos = 2.1, array_length_type = "guint")] uint8[] 
profile_tier_level);
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_h265_get_level")]
+               [Version (since = "1.4")]
                public static unowned string codec_utils_h265_get_level ([CCode (array_length_cname = "len", 
array_length_pos = 1.1, array_length_type = "guint")] uint8[] profile_tier_level);
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_h265_get_level_idc")]
+               [Version (since = "1.4")]
                public static uint8 codec_utils_h265_get_level_idc (string level);
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_h265_get_profile")]
+               [Version (since = "1.4")]
                public static unowned string codec_utils_h265_get_profile ([CCode (array_length_cname = 
"len", array_length_pos = 1.1, array_length_type = "guint")] uint8[] profile_tier_level);
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_codec_utils_h265_get_tier")]
+               [Version (since = "1.4")]
                public static unowned string codec_utils_h265_get_tier ([CCode (array_length_cname = "len", 
array_length_pos = 1.1, array_length_type = "guint")] uint8[] profile_tier_level);
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = 
"gst_codec_utils_opus_create_caps")]
                [Version (since = "1.8")]
diff --git a/vapi/gstreamer-player-1.0.vapi b/vapi/gstreamer-player-1.0.vapi
index 85fea770e..c73a30197 100644
--- a/vapi/gstreamer-player-1.0.vapi
+++ b/vapi/gstreamer-player-1.0.vapi
@@ -6,16 +6,23 @@ namespace Gst {
        public class Player : Gst.Object {
                [CCode (has_construct_function = false)]
                public Player (owned Gst.PlayerVideoRenderer? video_renderer, owned 
Gst.PlayerSignalDispatcher? signal_dispatcher);
+               [Version (since = "1.10")]
                public static uint config_get_position_update_interval (Gst.Structure config);
+               [Version (since = "1.12")]
                public static bool config_get_seek_accurate (Gst.Structure config);
+               [Version (since = "1.10")]
                public static string config_get_user_agent (Gst.Structure config);
+               [Version (since = "1.10")]
                public static void config_set_position_update_interval (Gst.Structure config, uint interval);
                [Version (since = "1.12")]
                public static void config_set_seek_accurate (Gst.Structure config, bool accurate);
+               [Version (since = "1.10")]
                public static void config_set_user_agent (Gst.Structure config, string agent);
                public static unowned GLib.List<Gst.PlayerAudioInfo> get_audio_streams (Gst.PlayerMediaInfo 
info);
+               [Version (since = "1.10")]
                public int64 get_audio_video_offset ();
                public double get_color_balance (Gst.PlayerColorBalanceType type);
+               [Version (since = "1.10")]
                public Gst.Structure get_config ();
                public Gst.PlayerAudioInfo get_current_audio_track ();
                public unowned Gst.PlayerSubtitleInfo get_current_subtitle_track ();
@@ -33,8 +40,10 @@ namespace Gst {
                public double get_rate ();
                public static unowned GLib.List<Gst.PlayerSubtitleInfo> get_subtitle_streams 
(Gst.PlayerMediaInfo info);
                public string get_subtitle_uri ();
+               [Version (since = "1.16")]
                public int64 get_subtitle_video_offset ();
                public string get_uri ();
+               [Version (since = "1.12")]
                public Gst.Sample get_video_snapshot (Gst.PlayerSnapshotFormat format, Gst.Structure? config);
                public static unowned GLib.List<Gst.PlayerVideoInfo> get_video_streams (Gst.PlayerMediaInfo 
info);
                public double get_volume ();
@@ -44,8 +53,10 @@ namespace Gst {
                public void seek (Gst.ClockTime position);
                public bool set_audio_track (int stream_index);
                public void set_audio_track_enabled (bool enabled);
+               [Version (since = "1.10")]
                public void set_audio_video_offset (int64 offset);
                public void set_color_balance (Gst.PlayerColorBalanceType type, double value);
+               [Version (since = "1.10")]
                public bool set_config (owned Gst.Structure config);
                [Version (since = "1.10")]
                public void set_multiview_flags (Gst.Video.MultiviewFlags flags);
@@ -56,6 +67,7 @@ namespace Gst {
                public bool set_subtitle_track (int stream_index);
                public void set_subtitle_track_enabled (bool enabled);
                public void set_subtitle_uri (string uri);
+               [Version (since = "1.16")]
                public void set_subtitle_video_offset (int64 offset);
                public void set_uri (string uri);
                public bool set_video_track (int stream_index);
@@ -180,6 +192,7 @@ namespace Gst {
                public void expose ();
                public void get_render_rectangle (out int x, out int y, out int width, out int height);
                public void* get_window_handle ();
+               [Version (since = "1.12")]
                public static Gst.PlayerVideoRenderer new_with_sink (void* window_handle, Gst.Element 
video_sink);
                public void set_render_rectangle (int x, int y, int width, int height);
                public void set_window_handle (void* window_handle);
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index ced743eda..cf2522ede 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -27,6 +27,7 @@ namespace Gst {
                        public void clear_auth_params ();
                        public Gst.RTSP.Result close ();
                        public Gst.RTSP.Result connect (GLib.TimeVal timeout);
+                       [Version (since = "1.8")]
                        public Gst.RTSP.Result connect_with_response (GLib.TimeVal timeout, Gst.RTSP.Message 
response);
                        public Gst.RTSP.Result do_tunnel (Gst.RTSP.Connection conn2);
                        public Gst.RTSP.Result flush (bool flush);
@@ -58,6 +59,8 @@ namespace Gst {
                        public void set_accept_certificate_func (owned 
Gst.RTSP.ConnectionAcceptCertificateFunc func);
                        public Gst.RTSP.Result set_auth (Gst.RTSP.AuthMethod method, string user, string 
pass);
                        public void set_auth_param (string param, string value);
+                       [Version (since = "1.18")]
+                       public void set_content_length_limit (uint limit);
                        public void set_http_mode (bool enable);
                        public void set_ip (string ip);
                        public Gst.RTSP.Result set_proxy (string host, uint port);
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index a006ce1a5..6812086ad 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -80,6 +80,7 @@ namespace Gst {
                        [Version (since = "1.6")]
                        public void set_tls_authentication_mode (GLib.TlsAuthenticationMode mode);
                        public void set_tls_certificate (GLib.TlsCertificate? cert);
+                       [Version (since = "1.6")]
                        public void set_tls_database (GLib.TlsDatabase? database);
                        [Version (since = "1.6")]
                        public virtual signal bool accept_certificate (GLib.TlsConnection connection, 
GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
@@ -100,6 +101,8 @@ namespace Gst {
                        public virtual Gst.SDP.Message create_sdp (Gst.RTSPServer.Media media);
                        public Gst.RTSPServer.Auth? get_auth ();
                        public unowned Gst.RTSP.Connection? get_connection ();
+                       [Version (since = "1.18")]
+                       public uint get_content_length_limit ();
                        public Gst.RTSPServer.MountPoints? get_mount_points ();
                        public Gst.RTSPServer.SessionPool? get_session_pool ();
                        public Gst.RTSPServer.ThreadPool? get_thread_pool ();
@@ -115,6 +118,8 @@ namespace Gst {
                        public GLib.List<Gst.RTSPServer.Session> session_filter 
(Gst.RTSPServer.ClientSessionFilterFunc? func);
                        public void set_auth (Gst.RTSPServer.Auth? auth);
                        public bool set_connection (owned Gst.RTSP.Connection conn);
+                       [Version (since = "1.18")]
+                       public void set_content_length_limit (uint limit);
                        public void set_mount_points (Gst.RTSPServer.MountPoints? mounts);
                        public void set_send_func (owned Gst.RTSPServer.ClientSendFunc func);
                        [Version (since = "1.16")]
@@ -171,6 +176,7 @@ namespace Gst {
                        [CCode (has_construct_function = false)]
                        public Media (owned Gst.Element element);
                        public void collect_streams ();
+                       [Version (since = "1.14")]
                        public bool complete_pipeline (GLib.GenericArray<Gst.RTSP.Transport?> transports);
                        [NoWrapper]
                        public virtual bool convert_range (Gst.RTSP.TimeRange range, Gst.RTSP.RangeUnit unit);
@@ -187,6 +193,7 @@ namespace Gst {
                        public bool get_do_retransmission ();
                        public Gst.Element get_element ();
                        public uint get_latency ();
+                       [Version (since = "1.16")]
                        public uint get_max_mcast_ttl ();
                        public string? get_multicast_iface ();
                        public Gst.RTSPServer.Permissions? get_permissions ();
@@ -204,6 +211,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool handle_message (Gst.Message message);
                        public virtual bool handle_sdp (Gst.SDP.Message sdp);
+                       [Version (since = "1.16")]
                        public bool is_bind_mcast_address ();
                        public bool is_eos_shutdown ();
                        public bool is_reusable ();
@@ -217,9 +225,12 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool query_stop (int64 stop);
                        public bool seek (Gst.RTSP.TimeRange range);
+                       [Version (since = "1.14")]
                        public bool seek_full (Gst.RTSP.TimeRange range, Gst.SeekFlags flags);
+                       [Version (since = "1.14")]
                        public Gst.ClockTimeDiff seekable ();
                        public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
+                       [Version (since = "1.16")]
                        public void set_bind_mcast_address (bool bind_mcast_addr);
                        public void set_buffer_size (uint size);
                        public void set_clock (Gst.Clock? clock);
@@ -227,6 +238,7 @@ namespace Gst {
                        public void set_do_retransmission (bool do_retransmission);
                        public void set_eos_shutdown (bool eos_shutdown);
                        public void set_latency (uint latency);
+                       [Version (since = "1.16")]
                        public bool set_max_mcast_ttl (uint ttl);
                        public void set_multicast_iface (string? multicast_iface);
                        public void set_permissions (Gst.RTSPServer.Permissions? permissions);
@@ -304,6 +316,7 @@ namespace Gst {
                        public bool get_do_retransmission ();
                        public uint get_latency ();
                        public string? get_launch ();
+                       [Version (since = "1.16")]
                        public uint get_max_mcast_ttl ();
                        [Version (since = "1.6")]
                        public GLib.Type get_media_gtype ();
@@ -316,11 +329,13 @@ namespace Gst {
                        public Gst.ClockTime get_retransmission_time ();
                        public Gst.RTSPServer.SuspendMode get_suspend_mode ();
                        public Gst.RTSPServer.TransportMode get_transport_mode ();
+                       [Version (since = "1.16")]
                        public bool is_bind_mcast_address ();
                        public bool is_eos_shutdown ();
                        public bool is_shared ();
                        public bool is_stop_on_disonnect ();
                        public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
+                       [Version (since = "1.16")]
                        public void set_bind_mcast_address (bool bind_mcast_addr);
                        public void set_buffer_size (uint size);
                        [Version (since = "1.8")]
@@ -330,6 +345,7 @@ namespace Gst {
                        public void set_eos_shutdown (bool eos_shutdown);
                        public void set_latency (uint latency);
                        public void set_launch (string launch);
+                       [Version (since = "1.16")]
                        public bool set_max_mcast_ttl (uint ttl);
                        [Version (since = "1.6")]
                        public void set_media_gtype (GLib.Type media_gtype);
@@ -459,6 +475,8 @@ namespace Gst {
                        public Gst.RTSPServer.Auth? get_auth ();
                        public int get_backlog ();
                        public int get_bound_port ();
+                       [Version (since = "1.18")]
+                       public uint get_content_length_limit ();
                        public Gst.RTSPServer.MountPoints? get_mount_points ();
                        public string? get_service ();
                        public Gst.RTSPServer.SessionPool? get_session_pool ();
@@ -467,6 +485,8 @@ namespace Gst {
                        public void set_address (string address);
                        public void set_auth (Gst.RTSPServer.Auth? auth);
                        public void set_backlog (int backlog);
+                       [Version (since = "1.18")]
+                       public void set_content_length_limit (uint limit);
                        public void set_mount_points (Gst.RTSPServer.MountPoints? mounts);
                        public void set_service (string service);
                        public void set_session_pool (Gst.RTSPServer.SessionPool? pool);
@@ -475,6 +495,7 @@ namespace Gst {
                        public string address { owned get; set; }
                        public int backlog { get; set; }
                        public int bound_port { get; }
+                       public uint content_length_limit { get; set; }
                        public Gst.RTSPServer.MountPoints mount_points { owned get; set; }
                        public string service { owned get; set; }
                        public Gst.RTSPServer.SessionPool session_pool { owned get; set; }
@@ -518,6 +539,7 @@ namespace Gst {
                        public string? get_rtpinfo ();
                        public Gst.RTSP.State get_rtsp_state ();
                        public unowned Gst.RTSPServer.StreamTransport? get_transport (uint idx);
+                       [Version (since = "1.14")]
                        public GLib.GenericArray<Gst.RTSPServer.StreamTransport> get_transports ();
                        public bool matches (string path, out int matched);
                        public void set_rtsp_state (Gst.RTSP.State state);
@@ -550,9 +572,11 @@ namespace Gst {
                public class Stream : GLib.Object {
                        [CCode (has_construct_function = false)]
                        public Stream (uint idx, Gst.Element payloader, Gst.Pad pad);
+                       [Version (since = "1.16")]
                        public bool add_multicast_client_address (string destination, uint rtp_port, uint 
rtcp_port, GLib.SocketFamily family);
                        public bool add_transport (Gst.RTSPServer.StreamTransport trans);
                        public bool allocate_udp_sockets (GLib.SocketFamily family, Gst.RTSP.Transport 
transport, bool use_client_settings);
+                       [Version (since = "1.14")]
                        public bool complete_stream (Gst.RTSP.Transport transport);
                        public Gst.RTSPServer.AddressPool? get_address_pool ();
                        [Version (since = "1.6")]
@@ -563,9 +587,11 @@ namespace Gst {
                        public int get_dscp_qos ();
                        public uint get_index ();
                        public Gst.Bin? get_joined_bin ();
+                       [Version (since = "1.16")]
                        public uint get_max_mcast_ttl ();
                        public uint get_mtu ();
                        public Gst.RTSPServer.Address? get_multicast_address (GLib.SocketFamily family);
+                       [Version (since = "1.16")]
                        public string get_multicast_client_addresses ();
                        public string? get_multicast_iface ();
                        public Gst.RTSP.Profile get_profiles ();
@@ -575,6 +601,7 @@ namespace Gst {
                        public Gst.RTSPServer.PublishClockMode get_publish_clock_mode ();
                        public uint get_retransmission_pt ();
                        public Gst.ClockTime get_retransmission_time ();
+                       [Version (since = "1.14")]
                        public GLib.Socket? get_rtcp_multicast_socket (GLib.SocketFamily family);
                        public GLib.Socket? get_rtcp_socket (GLib.SocketFamily family);
                        public GLib.Socket? get_rtp_multicast_socket (GLib.SocketFamily family);
@@ -594,11 +621,15 @@ namespace Gst {
                        [Version (since = "1.16")]
                        public bool handle_keymgmt (string keymgmt);
                        public bool has_control (string? control);
+                       [Version (since = "1.16")]
                        public bool is_bind_mcast_address ();
                        public bool is_blocking ();
                        public bool is_client_side ();
+                       [Version (since = "1.14")]
                        public bool is_complete ();
+                       [Version (since = "1.14")]
                        public bool is_receiver ();
+                       [Version (since = "1.14")]
                        public bool is_sender ();
                        public bool is_transport_supported (Gst.RTSP.Transport transport);
                        public bool join_bin (Gst.Bin bin, Gst.Element rtpbin, Gst.State state);
@@ -617,8 +648,10 @@ namespace Gst {
                        [Version (since = "1.16")]
                        public Gst.Element? request_ulpfec_encoder (uint sessid);
                        public Gst.RTSPServer.Address? reserve_address (string address, uint port, uint 
n_ports, uint ttl);
+                       [Version (since = "1.14")]
                        public bool seekable ();
                        public void set_address_pool (Gst.RTSPServer.AddressPool? pool);
+                       [Version (since = "1.16")]
                        public void set_bind_mcast_address (bool bind_mcast_addr);
                        public bool set_blocked (bool blocked);
                        [Version (since = "1.6")]
@@ -626,6 +659,7 @@ namespace Gst {
                        public void set_client_side (bool client_side);
                        public void set_control (string? control);
                        public void set_dscp_qos (int dscp_qos);
+                       [Version (since = "1.16")]
                        public bool set_max_mcast_ttl (uint ttl);
                        public void set_mtu (uint mtu);
                        public void set_multicast_iface (string? multicast_iface);
@@ -644,6 +678,7 @@ namespace Gst {
                        public GLib.List<Gst.RTSPServer.StreamTransport> transport_filter 
(Gst.RTSPServer.StreamTransportFilterFunc? func);
                        public bool unblock_linked ();
                        public bool update_crypto (uint ssrc, Gst.Caps? crypto);
+                       [Version (since = "1.16")]
                        public bool verify_mcast_ttl (uint ttl);
                        public string control { owned get; set; }
                        public Gst.RTSP.Profile profiles { get; set; }
@@ -663,6 +698,7 @@ namespace Gst {
                        public unowned Gst.RTSP.Url? get_url ();
                        public bool is_timed_out ();
                        public void keep_alive ();
+                       [Version (since = "1.16")]
                        public void message_sent ();
                        public Gst.FlowReturn recv_data (uint channel, owned Gst.Buffer buffer);
                        public bool send_rtcp (Gst.Buffer buffer);
@@ -865,6 +901,7 @@ namespace Gst {
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = 
"gst_rtsp_sdp_from_stream")]
                public static bool sdp_from_stream (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info, 
Gst.RTSPServer.Stream stream);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = 
"gst_rtsp_sdp_make_media")]
+               [Version (since = "1.14")]
                public static bool sdp_make_media (Gst.SDP.Message sdp, Gst.RTSPServer.SDPInfo info, 
Gst.RTSPServer.Stream stream, Gst.Caps caps, Gst.RTSP.Profile profile);
        }
 }
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index bdfed16ec..138de4979 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -5,6 +5,7 @@ namespace Gst {
        namespace Video {
                [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_get_type ()")]
                [GIR (name = "VideoAggregator")]
+               [Version (since = "1.16")]
                public abstract class Aggregator : Gst.Base.Aggregator {
                        public weak Gst.Video.Info info;
                        [CCode (has_construct_function = false)]
@@ -20,6 +21,7 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/video/video.h", type_id = 
"gst_video_aggregator_convert_pad_get_type ()")]
                [GIR (name = "VideoAggregatorConvertPad")]
+               [Version (since = "1.16")]
                public class AggregatorConvertPad : Gst.Video.AggregatorPad {
                        [CCode (has_construct_function = false)]
                        protected AggregatorConvertPad ();
@@ -31,6 +33,7 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_pad_get_type 
()")]
                [GIR (name = "VideoAggregatorPad")]
+               [Version (since = "1.16")]
                public class AggregatorPad : Gst.Base.AggregatorPad {
                        public weak Gst.Video.Info info;
                        [CCode (has_construct_function = false)]
@@ -256,6 +259,7 @@ namespace Gst {
                        public virtual bool set_format (Gst.Video.CodecState state);
                        public void set_headers (owned GLib.List<Gst.Buffer> headers);
                        public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
+                       [Version (since = "1.6")]
                        public void set_min_pts (Gst.ClockTime min_pts);
                        public Gst.Video.CodecState set_output_state (owned Gst.Caps caps, 
Gst.Video.CodecState? reference);
                        [Version (since = "1.14")]
@@ -552,8 +556,10 @@ namespace Gst {
                        public abstract void expose ();
                        public void got_window_handle ([CCode (type = "guintptr")] uint* handle);
                        public abstract void handle_events (bool handle_events);
+                       [Version (since = "1.14")]
                        public static void install_properties (GLib.ObjectClass oclass, int last_prop_id);
                        public void prepare_window_handle ();
+                       [Version (since = "1.14")]
                        public static bool set_property (GLib.Object object, int last_prop_id, uint 
property_id, GLib.Value value);
                        [NoWrapper]
                        public virtual void set_render_rectangle (int x, int y, int width, int height);
@@ -629,6 +635,24 @@ namespace Gst {
                        public string to_string ();
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+               [GIR (name = "VideoContentLightLevel")]
+               public struct ContentLightLevel {
+                       public uint maxCLL_n;
+                       public uint maxCLL_d;
+                       public uint maxFALL_n;
+                       public uint maxFALL_d;
+                       [Version (since = "1.18")]
+                       public bool add_to_caps (Gst.Caps caps);
+                       [Version (since = "1.18")]
+                       public bool from_caps (Gst.Caps caps);
+                       [Version (since = "1.18")]
+                       public bool from_string (string level);
+                       [Version (since = "1.18")]
+                       public void init ();
+                       [Version (since = "1.18")]
+                       public string to_string ();
+               }
+               [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoCropMeta")]
                public struct CropMeta {
                        public Gst.Meta meta;
@@ -696,6 +720,37 @@ namespace Gst {
                        public bool upload (uint texture_id);
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+               [GIR (name = "VideoMasteringDisplayInfo")]
+               [Version (since = "1.18")]
+               public struct MasteringDisplayInfo {
+                       public uint Rx_n;
+                       public uint Rx_d;
+                       public uint Ry_n;
+                       public uint Ry_d;
+                       public uint Gx_n;
+                       public uint Gx_d;
+                       public uint Gy_n;
+                       public uint Gy_d;
+                       public uint Bx_n;
+                       public uint Bx_d;
+                       public uint By_n;
+                       public uint By_d;
+                       public uint Wx_n;
+                       public uint Wx_d;
+                       public uint Wy_n;
+                       public uint Wy_d;
+                       public uint max_luma_n;
+                       public uint max_luma_d;
+                       public uint min_luma_n;
+                       public uint min_luma_d;
+                       public bool add_to_caps (Gst.Caps caps);
+                       public bool from_caps (Gst.Caps caps);
+                       public void init ();
+                       public bool is_equal (Gst.Video.MasteringDisplayInfo other);
+                       public bool is_valid ();
+                       public string? to_string ();
+               }
+               [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoMeta")]
                public struct Meta {
                        public Gst.Meta meta;
@@ -791,6 +846,7 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ANCILLARY_DID_", type_id 
= "gst_video_ancillary_did_get_type ()")]
                [GIR (name = "VideoAncillaryDID")]
+               [Version (since = "1.16")]
                public enum AncillaryDID {
                        UNDEFINED,
                        DELETION,
@@ -805,12 +861,13 @@ namespace Gst {
                        HANC_SDTV_AUDIO_DATA_2_FIRST,
                        HANC_SDTV_AUDIO_DATA_2_LAST
                }
-               [CCode (cheader_filename = "gst/video/video.h", cprefix = 
"GST_VIDEO_ANCILLARY_DID16_S334_EIA_", type_id = "gst_video_ancillary_di_d16_get_type ()")]
+               [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ANCILLARY_DID16_", 
type_id = "gst_video_ancillary_di_d16_get_type ()")]
                [GIR (name = "VideoAncillaryDID16")]
                [Version (since = "1.16")]
                public enum AncillaryDID16 {
-                       @708,
-                       @608
+                       S334_EIA_708,
+                       S334_EIA_608,
+                       S2016_3_AFD_BAR
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_BUFFER_FLAG_", type_id = 
"gst_video_buffer_flags_get_type ()")]
                [Flags]
@@ -1622,6 +1679,9 @@ namespace Gst {
                [CCode (cheader_filename = "gst/video/video.h", cname = 
"gst_is_video_overlay_prepare_window_handle_message")]
                public static bool is_video_overlay_prepare_window_handle_message (Gst.Message msg);
                [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.18")]
+               public static bool mastering_display_info_from_string (out Gst.Video.MasteringDisplayInfo 
minfo, string mastering);
+               [CCode (cheader_filename = "gst/video/video.h")]
                public static GLib.Type meta_api_get_type ();
                [CCode (cheader_filename = "gst/video/video.h")]
                public static unowned Gst.MetaInfo? meta_get_info ();
@@ -1703,8 +1763,10 @@ namespace Gst {
                [CCode (cheader_filename = "gst/video/video.h")]
                public static unowned Gst.MetaInfo? overlay_composition_meta_get_info ();
                [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.14")]
                public static void overlay_install_properties (GLib.ObjectClass oclass, int last_prop_id);
                [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.14")]
                public static bool overlay_set_property (GLib.Object object, int last_prop_id, uint 
property_id, GLib.Value value);
                [CCode (cheader_filename = "gst/video/video.h")]
                public static GLib.Type region_of_interest_meta_api_get_type ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]