[vala] gstreamer-*-0.10: Add missing type arguments



commit 24e25efd147a96c936b7a1d882313d8d9bfb703f
Author: Evan Nemerson <evan coeus-group com>
Date:   Wed Aug 4 19:28:01 2010 -0700

    gstreamer-*-0.10: Add missing type arguments

 vapi/gstreamer-0.10.vapi                           |    6 ++--
 vapi/gstreamer-audio-0.10.vapi                     |    2 +-
 vapi/gstreamer-check-0.10.vapi                     |    2 +-
 vapi/gstreamer-controller-0.10.vapi                |   18 +++++++-------
 vapi/gstreamer-sdp-0.10.vapi                       |   24 ++++++++++----------
 vapi/gstreamer-tag-0.10.vapi                       |    2 +-
 .../gstreamer-0.10/gstreamer-0.10-custom.vala      |    6 ++--
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    3 ++
 .../gstreamer-audio-0.10.metadata                  |    2 +-
 .../gstreamer-check-0.10.metadata                  |    3 +-
 .../gstreamer-controller-0.10.metadata             |    9 +++++++
 .../gstreamer-sdp-0.10/gstreamer-sdp-0.10.metadata |   12 ++++++++++
 .../gstreamer-tag-0.10/gstreamer-tag-0.10.metadata |    2 +-
 13 files changed, 58 insertions(+), 33 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 4dacb77..87af94f 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -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);
diff --git a/vapi/gstreamer-audio-0.10.vapi b/vapi/gstreamer-audio-0.10.vapi
index fb0ff21..d87c77e 100644
--- a/vapi/gstreamer-audio-0.10.vapi
+++ b/vapi/gstreamer-audio-0.10.vapi
@@ -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")]
diff --git a/vapi/gstreamer-check-0.10.vapi b/vapi/gstreamer-check-0.10.vapi
index 27bc701..9d4364f 100644
--- a/vapi/gstreamer-check-0.10.vapi
+++ b/vapi/gstreamer-check-0.10.vapi
@@ -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")]
diff --git a/vapi/gstreamer-controller-0.10.vapi b/vapi/gstreamer-controller-0.10.vapi
index 83bd6c7..5763d1d 100644
--- a/vapi/gstreamer-controller-0.10.vapi
+++ b/vapi/gstreamer-controller-0.10.vapi
@@ -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")]
diff --git a/vapi/gstreamer-sdp-0.10.vapi b/vapi/gstreamer-sdp-0.10.vapi
index c6fc57f..ad5cb90 100644
--- a/vapi/gstreamer-sdp-0.10.vapi
+++ b/vapi/gstreamer-sdp-0.10.vapi
@@ -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;
 	}
diff --git a/vapi/gstreamer-tag-0.10.vapi b/vapi/gstreamer-tag-0.10.vapi
index bd7977f..630c9d2 100644
--- a/vapi/gstreamer-tag-0.10.vapi
+++ b/vapi/gstreamer-tag-0.10.vapi
@@ -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")]
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
index a259047..e859394 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -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 ();
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 8cb0a24..4c19ee8 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -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"
diff --git a/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.metadata b/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.metadata
index 2d0fce1..0d37484 100644
--- a/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.metadata
+++ b/vapi/packages/gstreamer-audio-0.10/gstreamer-audio-0.10.metadata
@@ -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"
diff --git a/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata b/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata
index b12a816..1d66507 100644
--- a/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata
+++ b/vapi/packages/gstreamer-check-0.10/gstreamer-check-0.10.metadata
@@ -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
diff --git a/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata b/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata
index dbd1f95..38a0e33 100644
--- a/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata
+++ b/vapi/packages/gstreamer-controller-0.10/gstreamer-controller-0.10.metadata
@@ -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"
diff --git a/vapi/packages/gstreamer-sdp-0.10/gstreamer-sdp-0.10.metadata b/vapi/packages/gstreamer-sdp-0.10/gstreamer-sdp-0.10.metadata
index fd5155d..2d15b2f 100644
--- a/vapi/packages/gstreamer-sdp-0.10/gstreamer-sdp-0.10.metadata
+++ b/vapi/packages/gstreamer-sdp-0.10/gstreamer-sdp-0.10.metadata
@@ -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
diff --git a/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata b/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata
index e27b3b0..2fd9190 100644
--- a/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata
+++ b/vapi/packages/gstreamer-tag-0.10/gstreamer-tag-0.10.metadata
@@ -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"



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