]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 4 Nov 2017 19:10:45 +0000 (20:10 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 4 Nov 2017 19:10:45 +0000 (20:10 +0100)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-rtp-1.0.vapi
vapi/gstreamer-rtsp-1.0.vapi
vapi/gstreamer-sdp-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/packagekit-glib2.vapi
vapi/pango.vapi

index 5068466245a216803984729e1e9b7a01184c143e..2973fa33abcc01e130e34c8940473d0319448b3d 100644 (file)
@@ -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)]
index dc0975fc153da655c65f4c97b6568b59f27ad798..34b2b97b4238722f2c62d2efdd58d402975850dc 100644 (file)
@@ -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;
index 24eeedfa8f4d94a0e02065f7e7d5c5fdf65336f2..d59dc793fa1766aab8c559a11440774263246ec5 100644 (file)
@@ -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")]
index c27af31435723a993b2b11794a52e29ade283f14..5cd4b14519a4b96f3a6c9af4d4a4e4f7f65b4fef 100644 (file)
@@ -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);
index fa1d1c9b1d418f85e49d5453358e51e149c5e999..31aab9a3d9b87929b142de563580bec16908f328 100644 (file)
@@ -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")]
index 28f2730585d69e535079213d90ecafcc0da0829b..4b844de0d5a4eb0fe93c3edba9df251e8957b412 100644 (file)
@@ -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; }
index a28dfe9330d0f52f3f97db1cb7d85ee3886486de..dda57719d8782a9b539ed8c90587eea7eb6da813 100644 (file)
@@ -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);