]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-controller-0.10: Fix arguments of several methods.
authorRafael Monica <monraaf@gmail.com>
Thu, 22 Jul 2010 18:47:29 +0000 (11:47 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Thu, 22 Jul 2010 18:47:29 +0000 (11:47 -0700)
Fixes bug 624876.

vapi/gstreamer-controller-0.10.vapi
vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata

index 3c0f70bdec43a5caae420f20ddf2b648e78bf69d..83bd6c73454c4804f7556a1f0f4c43888d62e3c3 100644 (file)
@@ -15,16 +15,16 @@ namespace Gst {
                public weak GLib.Object object;
                public weak GLib.List properties;
                [CCode (has_construct_function = false)]
-               public Controller (GLib.Object object);
+               public Controller (GLib.Object object, ...);
                public Gst.Value @get (string property_name, Gst.ClockTime timestamp);
                public unowned GLib.List get_all (string property_name);
                public unowned Gst.ControlSource get_control_source (string property_name);
                public bool get_value_array (Gst.ClockTime timestamp, Gst.ValueArray value_array);
                public bool get_value_arrays (Gst.ClockTime timestamp, GLib.SList value_arrays);
-               public static bool init (int argc, out unowned string argv);
+               public static bool init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
                [CCode (has_construct_function = false)]
                public Controller.list (GLib.Object object, GLib.List list);
-               public bool remove_properties ();
+               public bool remove_properties (...);
                public bool remove_properties_list (GLib.List list);
                public bool remove_properties_valist (void* var_args);
                public bool @set (string property_name, Gst.ClockTime timestamp, Gst.Value value);
@@ -109,7 +109,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/controller/gstcontroller.h", has_target = false)]
        public delegate bool ControlSourceGetValueArray (Gst.ControlSource _self, Gst.ClockTime timestamp, Gst.ValueArray value_array);
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
-       public static unowned Gst.Controller object_control_properties (GLib.Object object);
+       public static unowned Gst.Controller object_control_properties (GLib.Object object, ...);
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
        public static Gst.ClockTime object_get_control_rate (GLib.Object object);
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
@@ -131,5 +131,5 @@ namespace Gst {
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
        public static bool object_sync_values (GLib.Object object, Gst.ClockTime timestamp);
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
-       public static bool object_uncontrol_properties (GLib.Object object);
+       public static bool object_uncontrol_properties (GLib.Object object, ...);
 }
index a639f421419b32d66a4b10c75c407b68485f28b2..dbd1f95505c46fc37c7a8a21a5e283cb7a62b925 100644 (file)
@@ -2,4 +2,9 @@ Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/controller/gst
 GstLFOControlSource cheader_filename="gst/controller/gstlfocontrolsource.h"
 GstLFOWaveform hidden="1"
 GST_PARAM_CONTROLLABLE hidden="1"
-
+gst_controller_init.argc hidden="1"
+gst_controller_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
+gst_controller_new ellipsis="1"
+gst_controller_remove_properties ellipsis="1"
+gst_object_control_properties ellipsis="1"
+gst_object_uncontrol_properties ellipsis="1"