[vala/staging] vapi: Update GIR-based bindings



commit e46c28d523630150d505855b26dbf675b5f48fe8
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Oct 21 20:48:07 2017 +0200

    vapi: Update GIR-based bindings

 vapi/gio-2.0.vapi               |    2 ++
 vapi/gstreamer-1.0.vapi         |    2 ++
 vapi/gstreamer-base-1.0.vapi    |    2 ++
 vapi/gstreamer-net-1.0.vapi     |    4 ++++
 vapi/gstreamer-pbutils-1.0.vapi |    4 ++++
 vapi/gstreamer-rtsp-1.0.vapi    |    7 ++++++-
 vapi/gstreamer-video-1.0.vapi   |    2 ++
 7 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 762f0aa..60c1734 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2445,8 +2445,10 @@ namespace GLib {
                public bool is_connected ();
                [Version (since = "2.32")]
                public bool join_multicast_group (GLib.InetAddress group, bool source_specific, string? 
iface) throws GLib.Error;
+               public bool join_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress 
source_specific, string iface) throws GLib.Error;
                [Version (since = "2.32")]
                public bool leave_multicast_group (GLib.InetAddress group, bool source_specific, string? 
iface) throws GLib.Error;
+               public bool leave_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress 
source_specific, string iface) throws GLib.Error;
                public bool listen () throws GLib.Error;
                public ssize_t receive ([CCode (array_length_cname = "size", array_length_pos = 1.5, 
array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public ssize_t receive_from (out GLib.SocketAddress address, [CCode (array_length_cname = 
"size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = 
null) throws GLib.Error;
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 3a1b18d..5068466 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -3926,6 +3926,8 @@ namespace Gst {
        public const Gst.ClockTimeDiff SECOND;
        [CCode (cheader_filename = "gst/gst.h", cname = "GST_SEGMENT_FORMAT")]
        public const string SEGMENT_FORMAT;
+       [CCode (cheader_filename = "gst/gst.h", cname = "GST_SEQNUM_INVALID")]
+       public const int SEQNUM_INVALID;
        [CCode (cheader_filename = "gst/gst.h", cname = "GST_STIME_FORMAT")]
        [Version (since = "1.6")]
        public const string STIME_FORMAT;
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index 70d8b1c..7cb1308 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -384,10 +384,12 @@ namespace Gst {
                        [Version (since = "1.6")]
                        public void clear ();
                        public void free ();
+                       [Version (since = "1.12.1")]
                        public unowned Gst.Base.FlowCombiner @ref ();
                        public void remove_pad (Gst.Pad pad);
                        [Version (since = "1.6")]
                        public void reset ();
+                       [Version (since = "1.12.1")]
                        public void unref ();
                        public Gst.FlowReturn update_flow (Gst.FlowReturn fret);
                        [Version (since = "1.6")]
diff --git a/vapi/gstreamer-net-1.0.vapi b/vapi/gstreamer-net-1.0.vapi
index 20d6c81..1701935 100644
--- a/vapi/gstreamer-net-1.0.vapi
+++ b/vapi/gstreamer-net-1.0.vapi
@@ -21,6 +21,8 @@ namespace Gst {
                        [NoAccessorMethod]
                        public int port { get; set construct; }
                        [NoAccessorMethod]
+                       public int qos_dscp { get; set; }
+                       [NoAccessorMethod]
                        public uint64 round_trip_limit { get; set; }
                }
                [CCode (cheader_filename = "gst/net/net.h", cname = "GstNtpClock", lower_case_cprefix = 
"gst_ntp_clock_", type_id = "gst_ntp_clock_get_type ()")]
@@ -74,6 +76,8 @@ namespace Gst {
                        public Gst.Clock clock { owned get; construct; }
                        [NoAccessorMethod]
                        public int port { get; construct; }
+                       [NoAccessorMethod]
+                       public int qos_dscp { get; set; }
                }
                [CCode (cheader_filename = "gst/net/net.h", has_type_id = false)]
                [GIR (name = "NetAddressMeta")]
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index c20c69f..b8afe76 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -80,6 +80,8 @@ namespace Gst {
                        [CCode (has_construct_function = false)]
                        protected DiscovererAudioInfo ();
                        public uint get_bitrate ();
+                       [Version (since = "1.14")]
+                       public uint64 get_channel_mask ();
                        public uint get_channels ();
                        public uint get_depth ();
                        public unowned string get_language ();
@@ -104,6 +106,8 @@ namespace Gst {
                        public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_audio_streams ();
                        public GLib.List<Gst.PbUtils.DiscovererStreamInfo> get_container_streams ();
                        public Gst.ClockTime get_duration ();
+                       [Version (since = "1.14")]
+                       public bool get_live ();
                        [Version (deprecated = true)]
                        public unowned Gst.Structure get_misc ();
                        [CCode (array_length = false, array_null_terminated = true)]
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 4024484..24eeedf 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -331,6 +331,10 @@ namespace Gst {
                        X_SESSIONCOOKIE,
                        RTCP_INTERVAL,
                        KEYMGMT,
+                       PIPELINED_REQUESTS,
+                       MEDIA_PROPERTIES,
+                       SEEK_STYLE,
+                       ACCEPT_RANGES,
                        LAST
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", cprefix = "GST_RTSP_LOWER_TRANS_", type_id = 
"gst_rtsp_lower_trans_get_type ()")]
@@ -496,7 +500,8 @@ namespace Gst {
                public enum Version {
                        INVALID,
                        @1_0,
-                       @1_1
+                       @1_1,
+                       @2_0
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", cname = "GST_RTSP_DEFAULT_PORT")]
                public const int _DEFAULT_PORT;
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 1e28757..fa1d1c9 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -184,6 +184,8 @@ namespace Gst {
                        public Gst.Video.CodecFrame get_frame (int frame_number);
                        public GLib.List<Gst.Video.CodecFrame> get_frames ();
                        public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime 
max_latency);
+                       [Version (since = "1.14")]
+                       public Gst.ClockTimeDiff get_max_encode_time (Gst.Video.CodecFrame frame);
                        public Gst.Video.CodecFrame get_oldest_frame ();
                        public Gst.Video.CodecState get_output_state ();
                        [NoWrapper]


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