[vala/0.38] gstreamer-1.0: Update from 1.13+ git master



commit 906abb22c31aadc6df2f4230e79551aca0be665e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Nov 9 09:41:40 2017 +0100

    gstreamer-1.0: Update from 1.13+ git master

 vapi/gstreamer-1.0.vapi       |    9 +++++++++
 vapi/gstreamer-rtp-1.0.vapi   |    3 ++-
 vapi/gstreamer-rtsp-1.0.vapi  |    4 ++++
 vapi/gstreamer-sdp-1.0.vapi   |    6 +++---
 vapi/gstreamer-video-1.0.vapi |    6 ++++++
 5 files changed, 24 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 5068466..2973fa3 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -1229,6 +1229,12 @@ namespace Gst {
                public class unowned GLib.List<Gst.PadTemplate> class_get_pad_template_list ();
                public Gst.StateChangeReturn continue_state (Gst.StateChangeReturn ret);
                public void create_all_pads ();
+               [Version (since = "1.14")]
+               public bool foreach_pad (Gst.ElementForeachPadFunc func);
+               [Version (since = "1.14")]
+               public bool foreach_sink_pad (Gst.ElementForeachPadFunc func);
+               [Version (since = "1.14")]
+               public bool foreach_src_pad (Gst.ElementForeachPadFunc func);
                public Gst.ClockTime get_base_time ();
                public Gst.Bus get_bus ();
                public Gst.Clock get_clock ();
@@ -3746,6 +3752,9 @@ namespace Gst {
        public delegate void DebugFuncPtr ();
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 1.9)]
        public delegate void ElementCallAsyncFunc (Gst.Element element);
+       [CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
+       [Version (since = "1.14")]
+       public delegate bool ElementForeachPadFunc (Gst.Element element, Gst.Pad pad);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
        public delegate void IteratorCopyFunction (Gst.Iterator it, Gst.Iterator copy);
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 2.9)]
diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi
index dc0975f..34b2b97 100644
--- a/vapi/gstreamer-rtp-1.0.vapi
+++ b/vapi/gstreamer-rtp-1.0.vapi
@@ -472,7 +472,8 @@ namespace Gst {
                        BYE,
                        APP,
                        RTPFB,
-                       PSFB
+                       PSFB,
+                       XR
                }
                [CCode (cheader_filename = "gst/rtp/rtp.h", cname = "GST_RTCP_MAX_BYE_SSRC_COUNT")]
                public const int MAX_BYE_SSRC_COUNT;
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 24eeedf..d59dc79 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -52,6 +52,8 @@ namespace Gst {
                        public Gst.RTSP.Result receive (Gst.RTSP.Message message, GLib.TimeVal timeout);
                        public Gst.RTSP.Result reset_timeout ();
                        public Gst.RTSP.Result send (Gst.RTSP.Message message, GLib.TimeVal 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);
                        public void set_auth_param (string param, string value);
                        public void set_http_mode (bool enable);
@@ -503,6 +505,8 @@ namespace Gst {
                        @1_1,
                        @2_0
                }
+               [CCode (cheader_filename = "gst/rtsp/rtsp.h", instance_pos = 3.9)]
+               public delegate bool ConnectionAcceptCertificateFunc (GLib.TlsConnection conn, 
GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", cname = "GST_RTSP_DEFAULT_PORT")]
                public const int _DEFAULT_PORT;
                [CCode (cheader_filename = "gst/rtsp/rtsp.h")]
diff --git a/vapi/gstreamer-sdp-1.0.vapi b/vapi/gstreamer-sdp-1.0.vapi
index c27af31..5cd4b14 100644
--- a/vapi/gstreamer-sdp-1.0.vapi
+++ b/vapi/gstreamer-sdp-1.0.vapi
@@ -197,7 +197,7 @@ namespace Gst {
                        public weak string uri;
                        public weak string version;
                        public weak GLib.Array<void*> zones;
-                       public Gst.SDP.Result add_attribute (string key, string value);
+                       public Gst.SDP.Result add_attribute (string key, string? value);
                        public Gst.SDP.Result add_bandwidth (string bwtype, uint bandwidth);
                        public Gst.SDP.Result add_email (string email);
                        public Gst.SDP.Result add_media (Gst.SDP.Media media);
@@ -290,7 +290,7 @@ namespace Gst {
                        [Version (since = "1.2")]
                        public Gst.SDP.Result clear ();
                        [Version (since = "1.2")]
-                       public Gst.SDP.Result @set (string key, string value);
+                       public Gst.SDP.Result @set (string key, string? value);
                }
                [CCode (cheader_filename = "gst/sdp/sdp.h", has_type_id = false)]
                [GIR (name = "SDPBandwidth")]
@@ -348,7 +348,7 @@ namespace Gst {
                        public weak GLib.Array<void*> bandwidths;
                        public Gst.SDP.Key key;
                        public weak GLib.Array<void*> attributes;
-                       public Gst.SDP.Result add_attribute (string key, string value);
+                       public Gst.SDP.Result add_attribute (string key, string? value);
                        public Gst.SDP.Result add_bandwidth (string bwtype, uint bandwidth);
                        public Gst.SDP.Result add_connection (string nettype, string addrtype, string 
address, uint ttl, uint addr_number);
                        public Gst.SDP.Result add_format (string format);
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index fa1d1c9..31aab9a 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -192,6 +192,8 @@ namespace Gst {
                        public virtual Gst.Caps getcaps (Gst.Caps filter);
                        [NoWrapper]
                        public virtual Gst.FlowReturn handle_frame (Gst.Video.CodecFrame frame);
+                       [Version (since = "1.14")]
+                       public bool is_qos_enabled ();
                        public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
                        public virtual bool negotiate ();
                        [NoWrapper]
@@ -209,6 +211,8 @@ namespace Gst {
                        public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
                        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")]
+                       public void set_qos_enabled (bool enabled);
                        [NoWrapper]
                        public virtual bool sink_event (Gst.Event event);
                        [NoWrapper]
@@ -223,6 +227,8 @@ namespace Gst {
                        public virtual bool stop ();
                        [NoWrapper]
                        public virtual bool transform_meta (Gst.Video.CodecFrame frame, Gst.Meta meta);
+                       [NoAccessorMethod]
+                       public bool qos { get; set; }
                }
                [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_filter_get_type ()")]
                [GIR (name = "VideoFilter")]


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