[vala] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] vapi: Update GIR-based bindings
- Date: Sat, 4 Nov 2017 19:12:51 +0000 (UTC)
commit 90885883f3bd7bd21c9bd3e8e520343662e61c5b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Nov 4 20:10:45 2017 +0100
vapi: Update GIR-based bindings
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 ++++++
vapi/packagekit-glib2.vapi | 2 ++
vapi/pango.vapi | 4 ++--
7 files changed, 28 insertions(+), 6 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")]
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index 28f2730..4b844de 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -940,6 +940,8 @@ namespace Pk {
public bool set_error_code (Pk.Error item);
[Version (since = "0.5.2")]
public bool set_exit_code (Pk.Exit exit_enum);
+ [Version (since = "1.1.8")]
+ public bool set_role (Pk.Role role);
[NoAccessorMethod]
[Version (since = "0.5.3")]
public uint inputs { get; set; }
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index a28dfe9..dda5771 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -205,8 +205,8 @@ namespace Pango {
[Version (since = "1.14")]
public Pango.FontDescription describe_with_absolute_size ();
public static void descriptions_free ([CCode (array_length_cname = "n_descs",
array_length_pos = 1.1)] owned Pango.FontDescription[]? descs);
- public virtual unowned Pango.EngineShape find_shaper (Pango.Language lang, uint32 ch);
- public virtual Pango.Coverage get_coverage (Pango.Language lang);
+ public virtual unowned Pango.EngineShape find_shaper (Pango.Language language, uint32 ch);
+ public virtual Pango.Coverage get_coverage (Pango.Language language);
[Version (since = "1.10")]
public virtual unowned Pango.FontMap? get_font_map ();
public virtual void get_glyph_extents (Pango.Glyph glyph, out Pango.Rectangle ink_rect, out
Pango.Rectangle logical_rect);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]