[vala] vapi: Update GIR-based bindings



commit 4797d902a08e3ba5b54b40adf5bb4b5e6d1407be
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Oct 12 18:18:32 2016 +0200

    vapi: Update GIR-based bindings

 vapi/gio-2.0.vapi           |    2 +-
 vapi/gstreamer-app-1.0.vapi |   19 +++++++++++--------
 2 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 019713a..ce83603 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -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")]
diff --git a/vapi/gstreamer-app-1.0.vapi b/vapi/gstreamer-app-1.0.vapi
index 7967d9e..fe2ab69 100644
--- a/vapi/gstreamer-app-1.0.vapi
+++ b/vapi/gstreamer-app-1.0.vapi
@@ -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 ()")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]