[vala/0.44] gstreamer: Cherry-pick some fixes from 0.46



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

    gstreamer: Cherry-pick some fixes from 0.46

 vapi/gstreamer-1.0.vapi             |  4 ++++
 vapi/gstreamer-audio-1.0.vapi       |  4 ++++
 vapi/gstreamer-base-1.0.vapi        |  1 +
 vapi/gstreamer-pbutils-1.0.vapi     |  9 +++++++++
 vapi/gstreamer-player-1.0.vapi      | 13 +++++++++++++
 vapi/gstreamer-rtsp-1.0.vapi        |  1 +
 vapi/gstreamer-rtsp-server-1.0.vapi | 28 ++++++++++++++++++++++++++++
 vapi/gstreamer-video-1.0.vapi       |  9 +++++++++
 8 files changed, 69 insertions(+)
---
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-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..e52caf3dc 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);
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index a006ce1a5..0901e9cd1 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);
@@ -171,6 +172,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 +189,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 +207,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 +221,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 +234,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 +312,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 +325,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 +341,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);
@@ -518,6 +530,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 +563,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 +578,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 +592,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 +612,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 +639,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 +650,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 +669,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 +689,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 +892,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..272e53495 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);
@@ -791,6 +797,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,
@@ -1703,8 +1710,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]