]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 12 Oct 2016 16:18:32 +0000 (18:18 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 12 Oct 2016 16:18:32 +0000 (18:18 +0200)
vapi/gio-2.0.vapi
vapi/gstreamer-app-1.0.vapi

index 019713afdd31869272c11aacbc936a30d6fce8ea..ce836031a29b0a233fe4971e4f68e5c90270dc26 100644 (file)
@@ -1983,7 +1983,7 @@ namespace GLib {
                public string uri { owned get; construct; }
        }
        [CCode (cheader_filename = "gio/gio.h", type_id = "g_resolver_get_type ()")]
-       public class Resolver : GLib.Object {
+       public abstract class Resolver : GLib.Object {
                [CCode (has_construct_function = false)]
                protected Resolver ();
                [Version (since = "2.22")]
index 7967d9ef0ad89159ba13b77b6df580bb194442e4..fe2ab69a1d59a30e2b9db4bd64e6a8ffe9bdcd12 100644 (file)
@@ -14,10 +14,6 @@ namespace Gst {
                        public uint get_max_buffers ();
                        public bool get_wait_on_eos ();
                        public bool is_eos ();
-                       [NoWrapper]
-                       public virtual Gst.FlowReturn new_preroll ();
-                       [NoWrapper]
-                       public virtual Gst.FlowReturn new_sample ();
                        public void set_caps (Gst.Caps caps);
                        public void set_drop (bool drop);
                        public void set_emit_signals (bool emit);
@@ -30,6 +26,8 @@ namespace Gst {
                        public virtual bool eos { get; }
                        public uint max_buffers { get; set; }
                        public bool wait_on_eos { get; set; }
+                       public virtual signal Gst.FlowReturn new_preroll ();
+                       public virtual signal Gst.FlowReturn new_sample ();
                        [HasEmitter]
                        public virtual signal Gst.Sample pull_preroll ();
                        [HasEmitter]
@@ -46,7 +44,6 @@ namespace Gst {
                public class Src : Gst.Base.Src, Gst.URIHandler {
                        [CCode (has_construct_function = false)]
                        protected Src ();
-                       public virtual Gst.FlowReturn end_of_stream ();
                        public Gst.Caps get_caps ();
                        [Version (since = "1.2")]
                        public uint64 get_current_level_bytes ();
@@ -57,9 +54,6 @@ namespace Gst {
                        public uint64 get_max_bytes ();
                        public int64 get_size ();
                        public Gst.App.StreamType get_stream_type ();
-                       public virtual Gst.FlowReturn push_buffer (owned Gst.Buffer buffer);
-                       [Version (since = "1.6")]
-                       public virtual Gst.FlowReturn push_sample (Gst.Sample sample);
                        public void set_caps (Gst.Caps caps);
                        [Version (since = "1.10")]
                        public void set_duration (Gst.ClockTime duration);
@@ -75,6 +69,8 @@ namespace Gst {
                        public uint64 duration { get; set; }
                        public bool emit_signals { get; set; }
                        [NoAccessorMethod]
+                       public Gst.Format format { get; set; }
+                       [NoAccessorMethod]
                        public bool is_live { get; set; }
                        public uint64 max_bytes { get; set; }
                        [NoAccessorMethod]
@@ -85,8 +81,15 @@ namespace Gst {
                        public uint min_percent { get; set; }
                        public int64 size { get; set; }
                        public Gst.App.StreamType stream_type { get; set; }
+                       [HasEmitter]
+                       public virtual signal Gst.FlowReturn end_of_stream ();
                        public virtual signal void enough_data ();
                        public virtual signal void need_data (uint length);
+                       [HasEmitter]
+                       public virtual signal Gst.FlowReturn push_buffer (Gst.Buffer buffer);
+                       [HasEmitter]
+                       [Version (since = "1.6")]
+                       public virtual signal Gst.FlowReturn push_sample (Gst.Sample sample);
                        public virtual signal bool seek_data (uint64 offset);
                }
                [CCode (cheader_filename = "gst/app/app.h", cprefix = "GST_APP_STREAM_TYPE_", type_id = "gst_app_stream_type_get_type ()")]