From: Rico Tzschichholz Date: Sat, 21 Oct 2017 18:48:07 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.39.1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e46c28d523630150d505855b26dbf675b5f48fe8;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 762f0aa55..60c173466 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 3a1b18ddf..506846624 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 70d8b1c3b..7cb1308c9 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 20d6c817c..17019356a 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 c20c69f7c..b8afe7638 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 get_audio_streams (); public GLib.List 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 402448464..24eeedfa8 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 1e28757df..fa1d1c9b1 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 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]