]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 3 Jul 2017 07:38:40 +0000 (09:38 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 3 Jul 2017 07:38:40 +0000 (09:38 +0200)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-controller-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi
vapi/gstreamer-rtsp-1.0.vapi
vapi/metadata/GstBase-1.0-custom.vala
vapi/metadata/GstBase-1.0.metadata

index ae1a10252bb8967576088a919d0f9f27f0bdab38..9dccb045c7f79d145246b2d97821b3725d65e435 100644 (file)
@@ -3471,7 +3471,13 @@ namespace Gst {
                PAUSED_TO_PLAYING,
                PLAYING_TO_PAUSED,
                PAUSED_TO_READY,
-               READY_TO_NULL
+               READY_TO_NULL,
+               NULL_TO_NULL,
+               READY_TO_READY,
+               PAUSED_TO_PAUSED,
+               PLAYING_TO_PLAYING;
+               [Version (since = "1.14")]
+               public static unowned string get_name (Gst.StateChange transition);
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STATE_CHANGE_", type_id = "gst_state_change_return_get_type ()")]
        public enum StateChangeReturn {
@@ -3965,6 +3971,9 @@ namespace Gst {
        public static unowned string? preset_get_app_dir ();
        [CCode (cheader_filename = "gst/gst.h")]
        public static bool preset_set_app_dir (string app_dir);
+       [CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/gst.h")]
+       [Version (since = "1.14")]
+       public static string[] protection_filter_systems_by_available_decryptors (string system_identifiers);
        [CCode (cheader_filename = "gst/gst.h")]
        [Version (since = "1.6")]
        public static unowned string protection_select_system ([CCode (array_length = false, array_null_terminated = true)] string[] system_identifiers);
index b2b88b9ad6ab37635a8d25bbee6f6729f34fb843..70d8b1c3b997e3f70847960fd143a96cdf0e2403 100644 (file)
@@ -384,9 +384,11 @@ namespace Gst {
                        [Version (since = "1.6")]
                        public void clear ();
                        public void free ();
+                       public unowned Gst.Base.FlowCombiner @ref ();
                        public void remove_pad (Gst.Pad pad);
                        [Version (since = "1.6")]
                        public void reset ();
+                       public void unref ();
                        public Gst.FlowReturn update_flow (Gst.FlowReturn fret);
                        [Version (since = "1.6")]
                        public Gst.FlowReturn update_pad_flow (Gst.Pad pad, Gst.FlowReturn fret);
@@ -458,6 +460,7 @@ namespace Gst {
                        public int overhead;
                        [CCode (has_construct_function = false)]
                        public ParseFrame (Gst.Buffer buffer, Gst.Base.ParseFrameFlags flags, int overhead);
+                       public Gst.Base.ParseFrame copy ();
                        public void free ();
                        public void init ();
                }
index d9d31d87a1e0f73ab209201e092130386cd99b30..63a103c4383f13d028865dbedbcb7bda1cbfebda 100644 (file)
@@ -33,6 +33,8 @@ namespace Gst {
                        public double cache_cubic_z;
                        public Gst.ClockTime timestamp;
                        public double value;
+                       public Gst.Controller.ControlPoint copy ();
+                       public void free ();
                }
                [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstDirectControlBinding", lower_case_cprefix = "gst_direct_control_binding_", type_id = "gst_direct_control_binding_get_type ()")]
                [GIR (name = "DirectControlBinding")]
index 93080731be2cc5d99ab2c35158b984b45829ac8f..c20c69f7c93e1fcafb52f27f84746a7633ad059c 100644 (file)
@@ -242,6 +242,7 @@ namespace Gst {
                public class InstallPluginsContext {
                        [CCode (has_construct_function = false)]
                        public InstallPluginsContext ();
+                       public Gst.PbUtils.InstallPluginsContext copy ();
                        public void free ();
                        [Version (since = "1.6")]
                        public void set_confirm_search (bool confirm_search);
index 7da23edddeb1127a21bb6a6ae64567a9b1c41750..402448464c6b8af114ac8d6e89399d06db7c87d4 100644 (file)
@@ -17,6 +17,8 @@ namespace Gst {
                public class AuthParam {
                        public weak string name;
                        public weak string value;
+                       public Gst.RTSP.AuthParam copy ();
+                       public void free ();
                }
                [CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
                [Compact]
index b198a6f26be8ce431be7281ece5d28ae17b3ec17..00d04f2bd178d4281e0d2ca7e48c0e139d61e581 100644 (file)
@@ -23,5 +23,11 @@ namespace Gst {
 public ByteWriter.with_size (uint size, bool fixed);
 public ByteWriter.with_data ([CCode (array_length_type = "guint")] uint8[] data, uint size, bool initialized);
                }
+
+               // Keep backwards compat with < 1.13/1.14
+               [CCode (cheader_filename = "gst/base/base.h", cname = "GstFlowCombiner", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_flow_combiner_", type_id = "gst_flow_combiner_get_type ()")]
+               [Compact]
+               public class FlowCombiner {
+               }
        }
 }
index 6514339b6417b02184a764df3f1a12bda4be0879..504cb31d1ac00186c40a6e4d8e73a96168cb8081 100644 (file)
@@ -2,6 +2,8 @@
 Base* name="Base(.+)"
 BASE_* name="BASE_(.+)"
 
+*.ref unowned
+
 PushSrc
   .create.buf out unowned=false
   .alloc.buf out unowned=false