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



commit e81a60e01b7092d081ae58621fb64ca1696c38f2
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Nov 21 14:37:54 2019 +0100

    gstreamer: Update from 1.17.0+ git master

 vapi/gst-editing-services-1.0.vapi  |  6 +++---
 vapi/gstreamer-1.0.vapi             | 17 +++++++++++++++--
 vapi/gstreamer-pbutils-1.0.vapi     |  2 ++
 vapi/gstreamer-rtsp-1.0.vapi        | 34 +++++++++++++++++++++++++++++++---
 vapi/gstreamer-rtsp-server-1.0.vapi |  2 ++
 vapi/gstreamer-video-1.0.vapi       |  3 +++
 6 files changed, 56 insertions(+), 8 deletions(-)
---
diff --git a/vapi/gst-editing-services-1.0.vapi b/vapi/gst-editing-services-1.0.vapi
index 72e29d79b..5d99f68b8 100644
--- a/vapi/gst-editing-services-1.0.vapi
+++ b/vapi/gst-editing-services-1.0.vapi
@@ -177,9 +177,11 @@ namespace GES {
                public virtual bool can_load_uri (string uri) throws GLib.Error;
                public static bool can_save_uri (string uri) throws GLib.Error;
                public static unowned GES.Asset get_default ();
+               [Version (deprecated = true, deprecated_since = "1.18")]
                public virtual bool load_from_uri (GES.Timeline timeline, string uri) throws GLib.Error;
                [CCode (cname = "ges_formatter_class_register_metas")]
                public class void register_metas (string name, string description, string extensions, string 
caps, double version, Gst.Rank rank);
+               [Version (deprecated = true, deprecated_since = "1.18")]
                public virtual bool save_to_uri (GES.Timeline timeline, string uri, bool overwrite) throws 
GLib.Error;
        }
        [CCode (cheader_filename = "ges/ges.h", type_id = "ges_group_get_type ()")]
@@ -517,7 +519,7 @@ namespace GES {
                public virtual bool set_max_duration (Gst.ClockTime maxduration);
                public bool set_name (string? name);
                public virtual bool set_parent (GES.TimelineElement parent);
-               [Version (deprecated = true)]
+               [Version (deprecated = true, deprecated_since = "1.10")]
                public virtual bool set_priority (uint32 priority);
                public virtual bool set_start (Gst.ClockTime start);
                public bool set_timeline (GES.Timeline timeline);
@@ -1057,10 +1059,8 @@ namespace GES {
        [CCode (cheader_filename = "ges/ges.h", has_target = false)]
        public delegate bool FormatterCanLoadURIMethod (GES.Formatter dummy_instance, string uri) throws 
GLib.Error;
        [CCode (cheader_filename = "ges/ges.h", has_target = false)]
-       [Version (deprecated = true, deprecated_since = "1.16")]
        public delegate bool FormatterLoadFromURIMethod (GES.Formatter formatter, GES.Timeline timeline, 
string uri) throws GLib.Error;
        [CCode (cheader_filename = "ges/ges.h", has_target = false)]
-       [Version (deprecated = true, deprecated_since = "1.16")]
        public delegate bool FormatterSaveToURIMethod (GES.Formatter formatter, GES.Timeline timeline, string 
uri, bool overwrite) throws GLib.Error;
        [CCode (cheader_filename = "ges/ges.h", instance_pos = 3.9)]
        public delegate void MetaForeachFunc (GES.MetaContainer container, string key, GLib.Value value);
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index ce4c332ec..3c31f220c 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -50,6 +50,9 @@ namespace Gst {
                [CCode (cheader_filename = "gst/gst.h")]
                public static void log_default (Gst.DebugCategory category, Gst.DebugLevel level, string 
file, string function, int line, GLib.Object? object, Gst.DebugMessage message, void* user_data = null);
                [CCode (cheader_filename = "gst/gst.h")]
+               [Version (since = "1.18")]
+               public static string log_get_line (Gst.DebugCategory category, Gst.DebugLevel level, string 
file, string function, int line, GLib.Object? object, Gst.DebugMessage message);
+               [CCode (cheader_filename = "gst/gst.h")]
                public static void log_valist (Gst.DebugCategory category, Gst.DebugLevel level, string file, 
string function, int line, GLib.Object? object, string format, va_list args);
                [CCode (cheader_filename = "gst/gst.h")]
                public static void print_stack_trace ();
@@ -625,6 +628,8 @@ namespace Gst {
                public Gst.ElementFlags get_suppressed_flags ();
                [NoWrapper]
                public virtual void handle_message (Gst.Message message);
+               [Version (since = "1.18")]
+               public Gst.Iterator? iterate_all_by_element_factory_name (string factory_name);
                public Gst.Iterator? iterate_all_by_interface (GLib.Type iface);
                public Gst.Iterator? iterate_elements ();
                public Gst.Iterator? iterate_recurse ();
@@ -1056,7 +1061,13 @@ namespace Gst {
                [CCode (has_construct_function = false)]
                public DateTime.from_unix_epoch_local_time (int64 secs);
                [CCode (has_construct_function = false)]
+               [Version (since = "1.18")]
+               public DateTime.from_unix_epoch_local_time_usecs (int64 usecs);
+               [CCode (has_construct_function = false)]
                public DateTime.from_unix_epoch_utc (int64 secs);
+               [CCode (has_construct_function = false)]
+               [Version (since = "1.18")]
+               public DateTime.from_unix_epoch_utc_usecs (int64 usecs);
                public int get_day ();
                public int get_hour ();
                public int get_microsecond ();
@@ -1397,7 +1408,7 @@ namespace Gst {
                public Event.instant_rate_change (double rate_multiplier, Gst.SegmentFlags new_flags);
                [CCode (has_construct_function = false)]
                [Version (since = "1.18")]
-               public Event.instant_rate_sync_time (double rate, Gst.ClockTime running_time, Gst.ClockTime 
upstream_running_time);
+               public Event.instant_rate_sync_time (double rate_multiplier, Gst.ClockTime running_time, 
Gst.ClockTime upstream_running_time);
                [CCode (has_construct_function = false)]
                public Event.latency (Gst.ClockTime latency);
                [CCode (has_construct_function = false)]
@@ -1411,7 +1422,7 @@ namespace Gst {
                [Version (since = "1.18")]
                public void parse_instant_rate_change (out double rate_multiplier, out Gst.SegmentFlags 
new_flags);
                [Version (since = "1.18")]
-               public void parse_instant_rate_sync_time (double rate, out Gst.ClockTime running_time, out 
Gst.ClockTime upstream_running_time);
+               public void parse_instant_rate_sync_time (out double rate_multiplier, out Gst.ClockTime 
running_time, out Gst.ClockTime upstream_running_time);
                public void parse_latency (out Gst.ClockTime latency);
                [Version (since = "1.6")]
                public void parse_protection (out unowned string system_id, out unowned Gst.Buffer data, out 
unowned string origin);
@@ -2445,6 +2456,8 @@ namespace Gst {
                public bool set_parent_refcount (int refcount);
                public void set_valist (string fieldname, va_list varargs);
                public void set_value (string fieldname, GLib.Value value);
+               [Version (since = "1.18")]
+               public static bool take (ref Gst.Structure? oldstr_ptr, owned Gst.Structure? newstr);
                public void take_value (string fieldname, owned GLib.Value value);
                public string to_string ();
                [CCode (has_construct_function = false)]
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index 3b2045374..bcefeba21 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -204,6 +204,7 @@ namespace Gst {
                        public unowned string get_preset ();
                        public unowned string get_preset_name ();
                        public Gst.Caps get_restriction ();
+                       [Version (since = "1.18")]
                        public bool get_single_segment ();
                        public unowned string get_type_nick ();
                        public bool is_enabled ();
@@ -218,6 +219,7 @@ namespace Gst {
                        public void set_preset (string? preset);
                        public void set_preset_name (string? preset_name);
                        public void set_restriction (owned Gst.Caps? restriction);
+                       [Version (since = "1.18")]
                        public void set_single_segment (bool single_segment);
                        [NoAccessorMethod]
                        public Gst.Caps restriction_caps { owned get; set; }
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index cf2522ede..24b6a54f0 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -26,9 +26,14 @@ namespace Gst {
                public class Connection {
                        public void clear_auth_params ();
                        public Gst.RTSP.Result close ();
+                       [Version (deprecated = true, deprecated_since = "1.18")]
                        public Gst.RTSP.Result connect (GLib.TimeVal timeout);
-                       [Version (since = "1.8")]
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result connect_usec (int64 timeout);
+                       [Version (deprecated = true, deprecated_since = "1.18", since = "1.8")]
                        public Gst.RTSP.Result connect_with_response (GLib.TimeVal timeout, Gst.RTSP.Message 
response);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result connect_with_response_usec (int64 timeout, Gst.RTSP.Message 
response);
                        public Gst.RTSP.Result do_tunnel (Gst.RTSP.Connection conn2);
                        public Gst.RTSP.Result flush (bool flush);
                        public Gst.RTSP.Result free ();
@@ -47,14 +52,31 @@ namespace Gst {
                        public Gst.RTSP.Url get_url ();
                        public unowned GLib.Socket get_write_socket ();
                        public bool is_tunneled ();
+                       [Version (deprecated = true, deprecated_since = "1.18")]
                        public Gst.RTSP.Result next_timeout (GLib.TimeVal timeout);
+                       [Version (since = "1.18")]
+                       public int64 next_timeout_usec ();
+                       [Version (deprecated = true, deprecated_since = "1.18")]
                        public Gst.RTSP.Result poll (Gst.RTSP.Event events, Gst.RTSP.Event revents, 
GLib.TimeVal timeout);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result poll_usec (Gst.RTSP.Event events, Gst.RTSP.Event revents, 
int64 timeout);
+                       [Version (deprecated = true, deprecated_since = "1.18")]
                        public Gst.RTSP.Result read (uint8 data, uint size, GLib.TimeVal timeout);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result read_usec (uint8 data, uint size, int64 timeout);
+                       [Version (deprecated = true, deprecated_since = "1.18")]
                        public Gst.RTSP.Result receive (Gst.RTSP.Message message, GLib.TimeVal timeout);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result receive_usec (Gst.RTSP.Message message, int64 timeout);
                        public Gst.RTSP.Result reset_timeout ();
+                       [Version (deprecated = true, deprecated_since = "1.18")]
                        public Gst.RTSP.Result send (Gst.RTSP.Message message, GLib.TimeVal timeout);
-                       [Version (since = "1.16")]
+                       [Version (deprecated = true, deprecated_since = "1.18", since = "1.16")]
                        public Gst.RTSP.Result send_messages ([CCode (array_length_cname = "n_messages", 
array_length_pos = 1.5, array_length_type = "guint")] Gst.RTSP.Message[] messages, GLib.TimeVal timeout);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result send_messages_usec ([CCode (array_length_cname = "n_messages", 
array_length_pos = 1.5, array_length_type = "guint")] Gst.RTSP.Message[] messages, int64 timeout);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result send_usec (Gst.RTSP.Message message, int64 timeout);
                        [Version (since = "1.14")]
                        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);
@@ -73,7 +95,10 @@ namespace Gst {
                        [Version (since = "1.2.1")]
                        public bool set_tls_validation_flags (GLib.TlsCertificateFlags flags);
                        public void set_tunneled (bool tunneled);
+                       [Version (deprecated = true, deprecated_since = "1.18")]
                        public Gst.RTSP.Result write (uint8 data, uint size, GLib.TimeVal timeout);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result write_usec (uint8 data, uint size, int64 timeout);
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", lower_case_cprefix = "gst_rtsp_msg_", type_id = "gst_rtsp_msg_get_type ()")]
                [Compact]
@@ -186,6 +211,7 @@ namespace Gst {
                        public void free ();
                        public Gst.RTSP.Result get_port (out uint16 port);
                        public string get_request_uri ();
+                       public string get_request_uri_with_control (string control_path);
                        public Gst.RTSP.Result set_port (uint16 port);
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
@@ -204,8 +230,10 @@ namespace Gst {
                        [Version (since = "1.2")]
                        public void set_send_backlog (size_t bytes, uint messages);
                        public void unref ();
-                       [Version (since = "1.4")]
+                       [Version (deprecated = true, deprecated_since = "1.18", since = "1.4")]
                        public Gst.RTSP.Result wait_backlog (GLib.TimeVal timeout);
+                       [Version (since = "1.18")]
+                       public Gst.RTSP.Result wait_backlog_usec (int64 timeout);
                        public Gst.RTSP.Result write_data ([CCode (array_length_cname = "size", 
array_length_pos = 1.5, array_length_type = "guint")] owned uint8[] data, out uint id);
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", type_id = "gst_rtsp_extension_get_type ()")]
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index 341cf879e..8553645fa 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -137,6 +137,8 @@ namespace Gst {
                        [NoAccessorMethod]
                        public bool drop_backlog { get; set; }
                        public Gst.RTSPServer.MountPoints mount_points { owned get; set; }
+                       [NoAccessorMethod]
+                       public int post_session_timeout { get; set; }
                        public Gst.RTSPServer.SessionPool session_pool { owned get; set; }
                        public virtual signal void announce_request (Gst.RTSPServer.Context ctx);
                        [Version (since = "1.6")]
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 01efb846f..3a6af3673 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -231,6 +231,8 @@ namespace Gst {
                        [NoWrapper]
                        public virtual Gst.FlowReturn finish ();
                        public Gst.FlowReturn finish_frame (owned Gst.Video.CodecFrame frame);
+                       [Version (since = "1.18")]
+                       public Gst.FlowReturn finish_subframe (Gst.Video.CodecFrame frame);
                        [NoWrapper]
                        public virtual bool flush ();
                        public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams 
@params);
@@ -934,6 +936,7 @@ namespace Gst {
                        FIRST_IN_BUNDLE,
                        TOP_FIELD,
                        BOTTOM_FIELD,
+                       MARKER,
                        LAST
                }
                [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CAPTION_TYPE_", type_id 
= "gst_video_caption_type_get_type ()")]


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