]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 13 Nov 2016 11:10:45 +0000 (12:10 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 13 Nov 2016 11:10:45 +0000 (12:10 +0100)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-allocators-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/libgdata.vapi
vapi/libsoup-2.4.vapi

index 6a6e2597a82fbadada3d807383528b5a623757fc..d9c5f8c62fe2cd136b2cee7f58e74166bc155c5c 100644 (file)
@@ -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 ();
index 86b11c9a99043822704ba16e8b580ed7df67b625..7c35c9c0a6ccf8e7987016908f091e9702b86687 100644 (file)
@@ -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);
index e6dcff7273b5f587b3288beb3f2c5eb0e34c2781..fdd3ec7b1490302c2b5a0d19522cedf340fcf18a 100644 (file)
@@ -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);
index 319845db27dfad605ad6ae9732ca96635ba7e70b..2d4b0d3f9a1b9a1f75af3d46ebe55cc41b915e6a 100644 (file)
@@ -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]
index 8b8343d57bcc4ec58ac636182e0df4a9bcdeca4b..ab8fc6427bce55e3a9f4ca263b8da8ccdd29e265 100644 (file)
@@ -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; }
index 13100dc76d53b3c8dce5dbb422ab5b7dd064b48a..1bd366de2b5c49fecb6221f7b4cc75f2a0634b9c 100644 (file)
@@ -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; }