From: Evan Nemerson Date: Thu, 5 Aug 2010 02:28:01 +0000 (-0700) Subject: gstreamer-*-0.10: Add missing type arguments X-Git-Tag: 0.9.5~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24e25efd147a96c936b7a1d882313d8d9bfb703f;p=thirdparty%2Fvala.git gstreamer-*-0.10: Add missing type arguments --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 4dacb777d..87af94fdb 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 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 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 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 fb0ff21fe..d87c77e2c 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 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 27bc70170..9d4364f86 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 buffer_in, GLib.List 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 83bd6c734..5763d1d4e 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 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 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 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 list); public bool remove_properties (...); - public bool remove_properties_list (GLib.List list); + 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); 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 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 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 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 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 c6fc57f98..ad5cb9094 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 attributes; + public weak GLib.Array bandwidths; + public weak GLib.Array connections; + public weak GLib.Array 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 attributes; + public weak GLib.Array bandwidths; public weak Gst.SDPConnection connection; - public weak GLib.Array emails; + public weak GLib.Array emails; public weak string information; public weak Gst.SDPKey key; - public weak GLib.Array medias; + public weak GLib.Array medias; public weak Gst.SDPOrigin origin; - public weak GLib.Array phones; + public weak GLib.Array phones; public weak string session_name; - public weak GLib.Array times; + public weak GLib.Array times; public weak string uri; public weak string version; - public weak GLib.Array zones; + public weak GLib.Array 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 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 bd7977f94..630c9d24f 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 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 a2590474a..e859394cd 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 8cb0a24d4..4c19ee8d7 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 2d0fce168..0d37484de 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 b12a81651..1d66507d7 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 dbd1f9550..38a0e33b8 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 fd5155d94..2d15b2ff5 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 e27b3b065..2fd919048 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"