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



commit c517b19fbb53806777bfc0fdc8d14e083c45be7a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Feb 10 12:32:00 2019 +0100

    gstreamer: Update from 1.15.1+ git master

 vapi/gstreamer-1.0.vapi                  |  7 +++++++
 vapi/gstreamer-rtsp-server-1.0.vapi      | 15 ++++++++++++++-
 vapi/metadata/GstRtspServer-1.0.metadata |  4 ++++
 3 files changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 5c50b1500..c277e5d58 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1131,6 +1131,8 @@ namespace Gst {
                public bool can_monitor ();
                public class unowned string? class_get_metadata (string key);
                public void device_add (Gst.Device device);
+               [Version (since = "1.16")]
+               public void device_changed (Gst.Device device, Gst.Device changed_device);
                public void device_remove (Gst.Device device);
                public Gst.Bus get_bus ();
                public GLib.List<Gst.Device> get_devices ();
@@ -1563,6 +1565,9 @@ namespace Gst {
                [Version (since = "1.4")]
                public Message.device_added (Gst.Object src, Gst.Device device);
                [CCode (has_construct_function = false)]
+               [Version (since = "1.16")]
+               public Message.device_changed (Gst.Object src, Gst.Device device, Gst.Device changed_device);
+               [CCode (has_construct_function = false)]
                [Version (since = "1.4")]
                public Message.device_removed (Gst.Object src, Gst.Device device);
                [CCode (has_construct_function = false)]
@@ -1606,6 +1611,8 @@ namespace Gst {
                public bool parse_context_type (out unowned string context_type);
                [Version (since = "1.4")]
                public void parse_device_added (out Gst.Device device);
+               [Version (since = "1.16")]
+               public void parse_device_changed (out Gst.Device device, out Gst.Device changed_device);
                [Version (since = "1.4")]
                public void parse_device_removed (out Gst.Device device);
                public void parse_error (out GLib.Error gerror, out string debug);
diff --git a/vapi/gstreamer-rtsp-server-1.0.vapi b/vapi/gstreamer-rtsp-server-1.0.vapi
index cdc6899e7..a006ce1a5 100644
--- a/vapi/gstreamer-rtsp-server-1.0.vapi
+++ b/vapi/gstreamer-rtsp-server-1.0.vapi
@@ -117,6 +117,8 @@ namespace Gst {
                        public bool set_connection (owned Gst.RTSP.Connection conn);
                        public void set_mount_points (Gst.RTSPServer.MountPoints? mounts);
                        public void set_send_func (owned Gst.RTSPServer.ClientSendFunc func);
+                       [Version (since = "1.16")]
+                       public void set_send_messages_func (owned Gst.RTSPServer.ClientSendMessagesFunc func);
                        public void set_session_pool (Gst.RTSPServer.SessionPool? pool);
                        public void set_thread_pool (Gst.RTSPServer.ThreadPool? pool);
                        [NoWrapper]
@@ -639,7 +641,6 @@ namespace Gst {
                        public void set_ulpfec_percentage (uint percentage);
                        [Version (since = "1.16")]
                        public void set_ulpfec_pt (uint pt);
-                       public void set_watch_context (GLib.MainContext context);
                        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);
@@ -665,10 +666,16 @@ namespace Gst {
                        public void message_sent ();
                        public Gst.FlowReturn recv_data (uint channel, owned Gst.Buffer buffer);
                        public bool send_rtcp (Gst.Buffer buffer);
+                       [Version (since = "1.16")]
+                       public bool send_rtcp_list (Gst.BufferList buffer_list);
                        public bool send_rtp (Gst.Buffer buffer);
+                       [Version (since = "1.16")]
+                       public bool send_rtp_list (Gst.BufferList buffer_list);
                        public bool set_active (bool active);
                        public void set_callbacks (Gst.RTSPServer.SendFunc send_rtp, owned 
Gst.RTSPServer.SendFunc send_rtcp);
                        public void set_keepalive (owned Gst.RTSPServer.KeepAliveFunc keep_alive);
+                       [Version (since = "1.16")]
+                       public void set_list_callbacks (Gst.RTSPServer.SendListFunc send_rtp_list, owned 
Gst.RTSPServer.SendListFunc send_rtcp_list);
                        public void set_message_sent (owned Gst.RTSPServer.MessageSentFunc message_sent);
                        public void set_timed_out (bool timedout);
                        public void set_transport (owned Gst.RTSP.Transport tr);
@@ -821,6 +828,9 @@ namespace Gst {
                }
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPClientSendFunc", 
instance_pos = 3.9)]
                public delegate bool ClientSendFunc (Gst.RTSPServer.Client client, Gst.RTSP.Message message, 
bool close);
+               [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = 
"GstRTSPClientSendMessagesFunc", instance_pos = 3.9)]
+               [Version (since = "1.16")]
+               public delegate bool ClientSendMessagesFunc (Gst.RTSPServer.Client client, [CCode 
(array_length_cname = "n_messages", array_length_pos = 2.5, array_length_type = "guint", type = 
"GstRTSPMessage*")] Gst.RTSP.Message[] messages, bool close);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = 
"GstRTSPClientSessionFilterFunc", instance_pos = 2.9)]
                public delegate Gst.RTSPServer.FilterResult ClientSessionFilterFunc (Gst.RTSPServer.Client 
client, Gst.RTSPServer.Session sess);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPKeepAliveFunc", 
instance_pos = 0.9)]
@@ -829,6 +839,9 @@ namespace Gst {
                public delegate void MessageSentFunc ();
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendFunc", 
instance_pos = 2.9)]
                public delegate bool SendFunc (Gst.Buffer buffer, uint8 channel);
+               [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = "GstRTSPSendListFunc", 
instance_pos = 2.9)]
+               [Version (since = "1.16")]
+               public delegate bool SendListFunc (Gst.BufferList buffer_list, uint8 channel);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = 
"GstRTSPServerClientFilterFunc", instance_pos = 2.9)]
                public delegate Gst.RTSPServer.FilterResult ServerClientFilterFunc (Gst.RTSPServer.Server 
server, Gst.RTSPServer.Client client);
                [CCode (cheader_filename = "gst/rtsp-server/rtsp-server.h", cname = 
"GstRTSPSessionFilterFunc", instance_pos = 2.9)]
diff --git a/vapi/metadata/GstRtspServer-1.0.metadata b/vapi/metadata/GstRtspServer-1.0.metadata
index a709b9923..71e39ca0d 100644
--- a/vapi/metadata/GstRtspServer-1.0.metadata
+++ b/vapi/metadata/GstRtspServer-1.0.metadata
@@ -56,3 +56,7 @@ RTSPThread base_type="Gst.MiniObject"
   .mini_object skip
 RTSPToken base_type="Gst.MiniObject"
   .mini_object skip
+
+// Upstream
+RTSPClientSendMessagesFunc
+  .messages array array_length_idx=2


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