[vala] vapi: Update GIR-based bindings



commit da33aaea1c1859902a90ba9c079fce9d1cce3986
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Nov 13 12:10:45 2016 +0100

    vapi: Update GIR-based bindings

 vapi/gstreamer-1.0.vapi            |    2 ++
 vapi/gstreamer-allocators-1.0.vapi |   19 +++++++++++++------
 vapi/gstreamer-base-1.0.vapi       |    2 ++
 vapi/gstreamer-video-1.0.vapi      |    2 ++
 vapi/libgdata.vapi                 |    2 ++
 vapi/libsoup-2.4.vapi              |    6 ++++++
 6 files changed, 27 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 6a6e259..d9c5f8c 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -29,6 +29,8 @@ namespace Gst {
                [CCode (cheader_filename = "gst/gst.h")]
                public static Gst.DebugLevel get_default_threshold ();
                [CCode (cheader_filename = "gst/gst.h")]
+               public static string get_stack_trace ();
+               [CCode (cheader_filename = "gst/gst.h")]
                public static bool is_active ();
                [CCode (cheader_filename = "gst/gst.h")]
                public static bool is_colored ();
diff --git a/vapi/gstreamer-allocators-1.0.vapi b/vapi/gstreamer-allocators-1.0.vapi
index 86b11c9..7c35c9c 100644
--- a/vapi/gstreamer-allocators-1.0.vapi
+++ b/vapi/gstreamer-allocators-1.0.vapi
@@ -3,6 +3,16 @@
 [CCode (cprefix = "Gst", gir_namespace = "GstAllocators", gir_version = "1.0", lower_case_cprefix = "gst_")]
 namespace Gst {
        namespace Allocators {
+               [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstDmaBufAllocator", 
lower_case_cprefix = "gst_dmabuf_allocator_", lower_case_csuffix = "dmabuf_allocator", type_id = 
"gst_dmabuf_allocator_get_type ()")]
+               [GIR (name = "DmaBufAllocator")]
+               [Version (since = "1.12")]
+               public class DmaBufAllocator : Gst.Allocators.FdAllocator {
+                       [CCode (has_construct_function = false, type = "GstAllocator*")]
+                       [Version (since = "1.2")]
+                       public DmaBufAllocator ();
+                       [Version (since = "1.2")]
+                       public static Gst.Memory alloc (Gst.Allocator allocator, int fd, size_t size);
+               }
                [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GstFdAllocator", 
lower_case_cprefix = "gst_fd_allocator_", type_id = "gst_fd_allocator_get_type ()")]
                [GIR (name = "FdAllocator")]
                [Version (since = "1.6")]
@@ -25,12 +35,9 @@ namespace Gst {
                public const string ALLOCATOR_DMABUF;
                [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "GST_ALLOCATOR_FD")]
                public const string ALLOCATOR_FD;
-               [CCode (cheader_filename = "gst/allocators/allocators.h", cname = 
"gst_dmabuf_allocator_alloc")]
-               [Version (since = "1.2")]
-               public static Gst.Memory dmabuf_allocator_alloc (Gst.Allocator allocator, int fd, size_t 
size);
-               [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_dmabuf_allocator_new")]
-               [Version (since = "1.2")]
-               public static Gst.Allocator dmabuf_allocator_new ();
+               [CCode (cheader_filename = "gst/allocators/allocators.h", cname = 
"GST_CAPS_FEATURE_MEMORY_DMABUF")]
+               [Version (since = "1.11")]
+               public const string CAPS_FEATURE_MEMORY_DMABUF;
                [CCode (cheader_filename = "gst/allocators/allocators.h", cname = "gst_dmabuf_memory_get_fd")]
                [Version (since = "1.2")]
                public static int dmabuf_memory_get_fd (Gst.Memory mem);
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index e6dcff7..fdd3ec7 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -406,6 +406,8 @@ namespace Gst {
                        public bool convert_default (Gst.Format src_format, int64 src_value, Gst.Format 
dest_format, int64 dest_value);
                        [NoWrapper]
                        public virtual Gst.FlowReturn detect (Gst.Buffer buffer);
+                       [Version (since = "1.12")]
+                       public void drain ();
                        public Gst.FlowReturn finish_frame (Gst.Base.ParseFrame frame, int size);
                        [NoWrapper]
                        public virtual Gst.Caps get_sink_caps (Gst.Caps filter);
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 319845d..2d4b0d3 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -81,6 +81,8 @@ namespace Gst {
                        public void add_to_frame (int n_bytes);
                        public Gst.Buffer allocate_output_buffer ();
                        public Gst.FlowReturn allocate_output_frame (Gst.Video.CodecFrame frame);
+                       [Version (since = "1.12")]
+                       public Gst.FlowReturn allocate_output_frame_with_params (Gst.Video.CodecFrame frame, 
Gst.BufferPoolAcquireParams @params);
                        [NoWrapper]
                        public virtual bool close ();
                        [NoWrapper]
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index 8b8343d..ab8fc64 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -752,6 +752,7 @@ namespace GData {
                public unowned string get_document_id ();
                [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.4.0")]
                public int64 get_edited ();
+               public int64 get_file_size ();
                public unowned GData.Author get_last_modified_by ();
                public int64 get_last_viewed ();
                public string get_path ();
@@ -764,6 +765,7 @@ namespace GData {
                public string document_id { get; }
                [Version (deprecated = true, deprecated_since = "0.17.0", since = "0.4.0")]
                public int64 edited { get; }
+               public int64 file_size { get; }
                [NoAccessorMethod]
                [Version (since = "0.5.0")]
                public bool is_deleted { get; set; }
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 13100dc..1bd366d 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -1107,6 +1107,8 @@ namespace Soup {
                public unowned string get_close_data ();
                public Soup.WebsocketConnectionType get_connection_type ();
                public unowned GLib.IOStream get_io_stream ();
+               [Version (since = "2.58")]
+               public uint get_keepalive_interval ();
                [Version (since = "2.56")]
                public uint64 get_max_incoming_payload_size ();
                public unowned string? get_origin ();
@@ -1115,10 +1117,14 @@ namespace Soup {
                public unowned Soup.URI get_uri ();
                public void send_binary ([CCode (array_length_cname = "length", array_length_pos = 1.1, 
array_length_type = "gsize")] uint8[] data);
                public void send_text (string text);
+               [Version (since = "2.58")]
+               public void set_keepalive_interval (uint interval);
                [Version (since = "2.56")]
                public void set_max_incoming_payload_size (uint64 max_incoming_payload_size);
                public Soup.WebsocketConnectionType connection_type { get; construct; }
                public GLib.IOStream io_stream { get; construct; }
+               [Version (since = "2.58")]
+               public uint keepalive_interval { get; set construct; }
                [Version (since = "2.56")]
                public uint64 max_incoming_payload_size { get; set construct; }
                public string origin { get; construct; }


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