]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-*-0.10: Add missing type arguments
authorEvan Nemerson <evan@coeus-group.com>
Thu, 5 Aug 2010 02:28:01 +0000 (19:28 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Thu, 5 Aug 2010 02:28:01 +0000 (19:28 -0700)
13 files changed:
vapi/gstreamer-0.10.vapi
vapi/gstreamer-audio-0.10.vapi
vapi/gstreamer-check-0.10.vapi
vapi/gstreamer-controller-0.10.vapi
vapi/gstreamer-sdp-0.10.vapi
vapi/gstreamer-tag-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.metadata
vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata
vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata
vapi/packages/gstreamer-sdp-0.10/gstreamer-sdp-0.10.metadata
vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata

index 4dacb777d70d8cac0a167227956a3036e1b4dabc..87af94fdb8dafb950fa04652c45cd2f83dcf2606 100644 (file)
@@ -1362,7 +1362,7 @@ namespace Gst {
                [CCode (cname = "gst_type_find_factory_get_extensions")]
                public unowned string get_extensions ();
                [CCode (cname = "gst_type_find_factory_get_list")]
-               public static unowned GLib.List get_list ();
+               public static GLib.List<Gst.PluginFeature> get_list ();
        }
        [Compact]
        [CCode (cheader_filename = "gst/gst.h")]
@@ -1381,11 +1381,11 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h")]
        public class XML : Gst.Object {
                public void* ns;
-               public weak GLib.List topelements;
+               public weak GLib.List<Gst.Element> topelements;
                [CCode (has_construct_function = false)]
                public XML ();
                public unowned Gst.Element get_element (string name);
-               public unowned GLib.List get_topelements ();
+               public unowned GLib.List<Gst.Element> get_topelements ();
                public static unowned Gst.Element make_element (void* cur, Gst.Object parent);
                [NoWrapper]
                public virtual void object_saved (Gst.Object object, void* self);
index fb0ff21fe487194c98ed3f6b0be6a70b1871b3ec..d87c77e2ccf1bd6a97fc4188ab8147523e939101 100644 (file)
@@ -300,7 +300,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/audio/audio.h")]
        public static bool audio_check_channel_positions (Gst.AudioChannelPosition pos, uint channels);
        [CCode (cheader_filename = "gst/audio/mixerutils.h")]
-       public static unowned GLib.List audio_default_registry_mixer_filter (Gst.AudioMixerFilterFunc filter_func, bool first);
+       public static GLib.List<Gst.Element> audio_default_registry_mixer_filter (Gst.AudioMixerFilterFunc filter_func, bool first);
        [CCode (cheader_filename = "gst/audio/audio.h")]
        public static Gst.ClockTime audio_duration_from_pad_buffer (Gst.Pad pad, Gst.Buffer buf);
        [CCode (cheader_filename = "gst/audio/multichannel.h")]
index 27bc701700b8a68e087925e0dbccd471e0349d6f..9d4364f869d01aae5d4c8c84fc654a4d439e53e2 100644 (file)
@@ -26,7 +26,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h")]
        public static void check_element_push_buffer (string element_name, Gst.Buffer buffer_in, Gst.Buffer buffer_out);
        [CCode (cheader_filename = "gst/gst.h")]
-       public static void check_element_push_buffer_list (string element_name, GLib.List buffer_in, GLib.List buffer_out, Gst.FlowReturn last_flow_return);
+       public static void check_element_push_buffer_list (string element_name, GLib.List<Gst.Buffer> buffer_in, GLib.List<Gst.Buffer> buffer_out, Gst.FlowReturn last_flow_return);
        [CCode (cheader_filename = "gst/gst.h")]
        public static void check_init (int argc, string argv);
        [CCode (cheader_filename = "gst/gst.h")]
index 83bd6c73454c4804f7556a1f0f4c43888d62e3c3..5763d1d4e274002eab48b28ca2b5c071d1258426 100644 (file)
@@ -13,24 +13,24 @@ namespace Gst {
        public class Controller : GLib.Object {
                public weak GLib.Mutex @lock;
                public weak GLib.Object object;
-               public weak GLib.List properties;
+               public weak GLib.List<Gst.TimedValue> properties;
                [CCode (has_construct_function = false)]
                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 GLib.List<weak Gst.TimedValue> 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 bool get_value_arrays (Gst.ClockTime timestamp, GLib.SList<Gst.ValueArray> value_arrays);
                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 Controller.list (GLib.Object object, GLib.List<string> list);
                public bool remove_properties (...);
-               public bool remove_properties_list (GLib.List list);
+               public bool remove_properties_list (GLib.List<string> list);
                public bool remove_properties_valist (void* var_args);
                public bool @set (string property_name, Gst.ClockTime timestamp, Gst.Value value);
                public bool set_control_source (string property_name, Gst.ControlSource csource);
                public void set_disabled (bool disabled);
-               public bool set_from_list (string property_name, GLib.SList timedvalues);
+               public bool set_from_list (string property_name, GLib.SList<Gst.TimedValue> timedvalues);
                public bool set_interpolation_mode (string property_name, Gst.InterpolateMode mode);
                public void set_property_disabled (string property_name, bool disabled);
                public Gst.ClockTime suggest_next_sync ();
@@ -47,10 +47,10 @@ namespace Gst {
                public weak GLib.Mutex @lock;
                [CCode (has_construct_function = false)]
                public InterpolationControlSource ();
-               public unowned GLib.List get_all ();
+               public GLib.List<weak Gst.TimedValue> get_all ();
                public int get_count ();
                public bool @set (Gst.ClockTime timestamp, Gst.Value value);
-               public bool set_from_list (GLib.SList timedvalues);
+               public bool set_from_list (GLib.SList<Gst.TimedValue> timedvalues);
                public bool set_interpolation_mode (Gst.InterpolateMode mode);
                public bool unset (Gst.ClockTime timestamp);
                public void unset_all ();
@@ -119,7 +119,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
        public static bool object_get_value_array (GLib.Object object, Gst.ClockTime timestamp, Gst.ValueArray value_array);
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
-       public static bool object_get_value_arrays (GLib.Object object, Gst.ClockTime timestamp, GLib.SList value_arrays);
+       public static bool object_get_value_arrays (GLib.Object object, Gst.ClockTime timestamp, GLib.SList<Gst.ValueArray> value_arrays);
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
        public static void object_set_control_rate (GLib.Object object, Gst.ClockTime control_rate);
        [CCode (cheader_filename = "gst/controller/gstcontroller.h")]
index c6fc57f9899962339ec692ec3386b641766f6bb9..ad5cb909466109be19e32db8dc57388e1bb0c12c 100644 (file)
@@ -32,10 +32,10 @@ namespace Gst {
        [Compact]
        [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
        public class SDPMedia {
-               public weak GLib.Array attributes;
-               public weak GLib.Array bandwidths;
-               public weak GLib.Array connections;
-               public weak GLib.Array fmts;
+               public weak GLib.Array<Gst.SDPAttribute> attributes;
+               public weak GLib.Array<Gst.SDPBandwidth> bandwidths;
+               public weak GLib.Array<Gst.SDPConnection> connections;
+               public weak GLib.Array<string> fmts;
                public weak string information;
                public weak Gst.SDPKey key;
                public weak string media;
@@ -76,20 +76,20 @@ namespace Gst {
        [Compact]
        [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
        public class SDPMessage {
-               public weak GLib.Array attributes;
-               public weak GLib.Array bandwidths;
+               public weak GLib.Array<Gst.SDPAttribute> attributes;
+               public weak GLib.Array<Gst.SDPBandwidth> bandwidths;
                public weak Gst.SDPConnection connection;
-               public weak GLib.Array emails;
+               public weak GLib.Array<string> emails;
                public weak string information;
                public weak Gst.SDPKey key;
-               public weak GLib.Array medias;
+               public weak GLib.Array<Gst.SDPMedia> medias;
                public weak Gst.SDPOrigin origin;
-               public weak GLib.Array phones;
+               public weak GLib.Array<string> phones;
                public weak string session_name;
-               public weak GLib.Array times;
+               public weak GLib.Array<Gst.SDPTime> times;
                public weak string uri;
                public weak string version;
-               public weak GLib.Array zones;
+               public weak GLib.Array<Gst.SDPZone> zones;
                [CCode (type = "GstSDPResult", has_construct_function = false)]
                public SDPMessage (out unowned Gst.SDPMessage msg);
                public Gst.SDPResult add_attribute (string key, string value);
@@ -148,7 +148,7 @@ namespace Gst {
        [Compact]
        [CCode (cheader_filename = "gst/sdp/gstsdpmessage.h")]
        public class SDPTime {
-               public weak GLib.Array repeat;
+               public weak GLib.Array<Gst.SDPTime> repeat;
                public weak string start;
                public weak string stop;
        }
index bd7977f94e252d44611ef5f57f89eca58c173a4a..630c9d24fdf7405e7716941401be80a4326703b4 100644 (file)
@@ -104,7 +104,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/tag/tag.h")]
        public static unowned string tag_to_id3_tag (string gst_tag);
        [CCode (cheader_filename = "gst/tag/tag.h")]
-       public static GLib.List tag_to_vorbis_comments (Gst.TagList list, string tag);
+       public static GLib.List<string> tag_to_vorbis_comments (Gst.TagList list, string tag);
        [CCode (cheader_filename = "gst/tag/tag.h")]
        public static unowned string tag_to_vorbis_tag (string gst_tag);
        [CCode (cheader_filename = "gst/tag/tag.h")]
index a2590474a6876bcff78a4b0214c0cad7de1159e7..e859394cdfab1eef27c8af04f370932009ab70a9 100644 (file)
@@ -245,7 +245,7 @@ namespace Gst {
        }
 
        public enum FlowReturn {
-               SOME_RANDOM_VALUE_FOR_VAPIGEN;
+               __DUMMY__;
                [CCode (cname = "GST_FLOW_IS_FATAL")]
                public bool is_fatal ();
                [CCode (cname = "GST_FLOW_IS_SUCCESS")]
@@ -253,7 +253,7 @@ namespace Gst {
        }
 
        public enum PadLinkReturn {
-               SOME_RANDOM_VALUE_FOR_VAPIGEN;
+               __DUMMY__;
                [CCode (cname = "GST_PAD_LINK_FAILED")]
                public bool failed ();
                [CCode (cname = "GST_PAD_LINK_SUCCESSFUL")]
@@ -327,7 +327,7 @@ namespace Gst {
        }
 
        public enum QueryType {
-               SOME_RANDOM_VALUE_FOR_VAPIGEN;
+               __DUMMY__;
                public GLib.Quark to_quark ();
                public unowned string get_name ();
                public unowned QueryTypeDefinition get_details ();
index 8cb0a24d4119fb2cf526560c660f598b3b4da082..4c19ee8d7707e94e033058baaaed5a72b6b1e350 100644 (file)
@@ -588,6 +588,7 @@ gst_tag_list_get_uint_index.value is_out="1"
 gst_tag_list_get_ulong.value is_out="1"
 gst_tag_list_get_ulong_index.value is_out="1"
 gst_tag_list_merge transfer_ownership="1"
+gst_type_find_factory_get_list transfer_ownership="1" type_arguments="PluginFeature"
 gst_value_array_append_value hidden="1"
 gst_value_array_get_size hidden="1"
 gst_value_array_get_type hidden="1"
@@ -684,3 +685,5 @@ gst_preset_get_preset_names is_array="1" array_null_terminated="1" transfer_owne
 gst_preset_get_property_names is_array="1" array_null_terminated="1" transfer_ownership="1"
 GstSystemClock.* hidden="1"
 gst_system_clock_obtain transfer_ownership="1"
+GstXML.topelements type_arguments="Element"
+gst_xml_get_topelements type_arguments="Element"
index 2d0fce168ba472ff09cab865f32a74c24396a6cb..0d37484de6284458de03a5fe7e5dd615b72effda 100644 (file)
@@ -17,7 +17,7 @@ GstRingBuffer cheader_filename="gst/audio/gstaudiofilter.h"
 GstAudioClockGetTimeFunc cheader_filename="gst/audio/gstaudioclock.h"
 GstAudioMixerFilterFunc cheader_filename="gst/audio/mixerutils.h"
 GstRingBufferCallback cheader_filename="gst/audio/gstringbuffer.h"
-gst_audio_default_registry_mixer_filter cheader_filename="gst/audio/mixerutils.h"
+gst_audio_default_registry_mixer_filter cheader_filename="gst/audio/mixerutils.h" type_arguments="Element" transfer_ownership="1"
 gst_audio_fixate_channel_positions cheader_filename="gst/audio/multichannel.h"
 gst_audio_set_caps_channel_positions_list cheader_filename="gst/audio/multichannel.h"
 gst_audio_set_structure_channel_positions_list cheader_filename="gst/audio/multichannel.h"
index b12a81651e5a7cd782bfb11132f709d27eb5242d..1d66507d76d6ea9d3f27754fc794ffea1c63f329 100644 (file)
@@ -1,3 +1,4 @@
 Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/gst.h"
 Suite name="pointer"
-gst_check_setup_* transfer_ownership="1"
+gst_check_element_push_buffer_list.buffer_* type_arguments="Buffer"
+gst_check_setup_* transfer_ownership="1"
\ No newline at end of file
index dbd1f95505c46fc37c7a8a21a5e283cb7a62b925..38a0e33b886943c2daf55ce43ae891839ed09b7b 100644 (file)
@@ -2,9 +2,18 @@ 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"
+GstController.properties type_arguments="TimedValue"
+gst_controller_get_all transfer_ownership="1" type_arguments="unowned TimedValue"
+gst_controller_get_value_arrays.value_arrays type_arguments="ValueArray"
 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_new_list.list type_arguments="string"
 gst_controller_remove_properties ellipsis="1"
+gst_controller_remove_properties_list.list type_arguments="string"
+gst_controller_set_from_list.timedvalues type_arguments="TimedValue"
+gst_interpolation_control_source_get_all transfer_ownership="1" type_arguments="unowned TimedValue"
+gst_interpolation_control_source_set_from_list.timedvalues type_arguments="TimedValue"
 gst_object_control_properties ellipsis="1"
+gst_object_get_value_arrays.value_arrays type_arguments="ValueArray"
 gst_object_uncontrol_properties ellipsis="1"
index fd5155d94d4d65d2cebc545a202c36ee76df4ccf..2d15b2ff5eb4846aa2e52ccc4f3a0980a498145d 100644 (file)
@@ -1,2 +1,14 @@
 Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/sdp/gstsdpmessage.h"
 GstSDPResult cheader_filename="gst/sdp/gstsdp.h"
+GstSDPMedia.attributes type_arguments="SDPAttribute"
+GstSDPMedia.bandwidths type_arguments="SDPBandwidth"
+GstSDPMedia.connections type_arguments="SDPConnection"
+GstSDPMedia.fmts type_arguments="string"
+GstSDPMessage.attributes type_arguments="SDPAttribute"
+GstSDPMessage.bandwidths type_arguments="SDPBandwidth"
+GstSDPMessage.emails type_arguments="string"
+GstSDPMessage.medias type_arguments="SDPMedia"
+GstSDPMessage.phones type_arguments="string"
+GstSDPMessage.times type_arguments="SDPTime"
+GstSDPMessage.zones type_arguments="SDPZone"
+GstSDPTime.repeat type_arguments="SDPTime"
\ No newline at end of file
index e27b3b06568f78b2e6f9b2b31919c542341c8769..2fd9190483be0ed76db9cbd80d6fe482adbc3564 100644 (file)
@@ -7,7 +7,7 @@ gst_tag_demux_parse_tag.tag_size is_out="1"
 gst_tag_demux_parse_tag.tags is_out="1" transfer_ownership="1"
 gst_tag_list_from_vorbiscomment_buffer transfer_ownership="1"
 gst_tag_list_from_vorbiscomment_buffer.vendor_string is_out="1" transfer_ownership="1"
-gst_tag_to_vorbis_comments transfer_ownership="1"
+gst_tag_to_vorbis_comments transfer_ownership="1" type_arguments="string"
 gst_tag_list_to_vorbiscomment_buffer transfer_ownership="1"
 gst_tag_parse_extended_comment.key is_out="1" transfer_ownership="1"
 gst_tag_parse_extended_comment.lang is_out="1" transfer_ownership="1"