]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 21 Oct 2017 18:48:07 +0000 (20:48 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 21 Oct 2017 18:48:07 +0000 (20:48 +0200)
vapi/gio-2.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-net-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi
vapi/gstreamer-rtsp-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index 762f0aa559d57b98374e81a345a5254f7f1849cd..60c173466edb5c8689c98cb9914ebecd7a90efd9 100644 (file)
@@ -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;
index 3a1b18ddf284572b7e1e8720929b90f281659e0a..5068466245a216803984729e1e9b7a01184c143e 100644 (file)
@@ -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;
index 70d8b1c3b997e3f70847960fd143a96cdf0e2403..7cb1308c9f1203d1aff47f9f08748a323fa3bdea 100644 (file)
@@ -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")]
index 20d6c817c6e6cb590365d98f486a37fd3abd2291..17019356abaa07ee76f88a7df7e3fb8f970392a5 100644 (file)
@@ -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")]
index c20c69f7c93e1fcafb52f27f84746a7633ad059c..b8afe7638473cb1097ea1b755421dd2bef2afc94 100644 (file)
@@ -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)]
index 402448464c6b8af114ac8d6e89399d06db7c87d4..24eeedfa8f4d94a0e02065f7e7d5c5fdf65336f2 100644 (file)
@@ -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;
index 1e28757dfcf469cc8771f512006b313c8fd91dae..fa1d1c9b1d418f85e49d5453358e51e149c5e999 100644 (file)
@@ -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]