[vala] gstreamer: Update from 1.17.0+ git master



commit 46274b7b5b7772a1fedcace9cb0175b571d07286
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Jan 7 14:01:06 2020 +0100

    gstreamer: Update from 1.17.0+ git master

 vapi/gst-editing-services-1.0.vapi |  6 +++---
 vapi/gstreamer-1.0.vapi            |  5 +++++
 vapi/gstreamer-rtsp-1.0.vapi       | 34 +++++++++++++++++++++++++++++++---
 vapi/gstreamer-video-1.0.vapi      |  3 +++
 4 files changed, 42 insertions(+), 6 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 b3a3b1389..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 ();
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-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]