[vala] gstreamer: Use generic Gst.Iterator with correct type arguments everywhere
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer: Use generic Gst.Iterator with correct type arguments everywhere
- Date: Fri, 9 Apr 2010 10:45:49 +0000 (UTC)
commit eafc4a69982b64852c187fdb8640b65315281e0c
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date: Fri Apr 9 12:45:28 2010 +0200
gstreamer: Use generic Gst.Iterator with correct type arguments everywhere
vapi/gstreamer-0.10.vapi | 24 ++++++++++----------
.../gstreamer-0.10/gstreamer-0.10.metadata | 18 ++++++++------
2 files changed, 22 insertions(+), 20 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 94316d6..bfe4966 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -44,12 +44,12 @@ namespace Gst {
public Gst.Element? get_by_name_recurse_up (string name);
[NoWrapper]
public virtual void handle_message (Gst.Message message);
- public Gst.Iterator iterate_all_by_interface (GLib.Type iface);
- public Gst.Iterator iterate_elements ();
- public Gst.Iterator iterate_recurse ();
- public Gst.Iterator iterate_sinks ();
- public Gst.Iterator iterate_sorted ();
- public Gst.Iterator iterate_sources ();
+ public Gst.Iterator<Gst.Element> iterate_all_by_interface (GLib.Type iface);
+ public Gst.Iterator<Gst.Element> iterate_elements ();
+ public Gst.Iterator<Gst.Element> iterate_recurse ();
+ public Gst.Iterator<Gst.Element> iterate_sinks ();
+ public Gst.Iterator<Gst.Element> iterate_sorted ();
+ public Gst.Iterator<Gst.Element> iterate_sources ();
public bool recalculate_latency ();
public bool remove (Gst.Element element);
[NoWrapper]
@@ -391,8 +391,8 @@ namespace Gst {
public bool is_indexable ();
public bool is_locked_state ();
public Gst.Iterator<Gst.Pad> iterate_pads ();
- public Gst.Iterator iterate_sink_pads ();
- public Gst.Iterator iterate_src_pads ();
+ public Gst.Iterator<Gst.Pad> iterate_sink_pads ();
+ public Gst.Iterator<Gst.Pad> iterate_src_pads ();
public bool link (Gst.Element dest);
public bool link_filtered (Gst.Element dest, Gst.Caps filter);
public bool link_many (Gst.Element element_2, ...);
@@ -855,8 +855,8 @@ namespace Gst {
public bool is_blocked ();
public bool is_blocking ();
public bool is_linked ();
- public unowned Gst.Iterator iterate_internal_links ();
- public unowned Gst.Iterator iterate_internal_links_default ();
+ public Gst.Iterator<Gst.Pad> iterate_internal_links ();
+ public Gst.Iterator<Gst.Pad> iterate_internal_links_default ();
public Gst.PadLinkReturn link (Gst.Pad sinkpad);
public void load_and_link (Gst.Object parent);
public bool pause_task ();
@@ -1110,7 +1110,7 @@ namespace Gst {
public void set_uri (string uri);
public static Gst.QueryType type_get_by_nick (string nick);
public static unowned Gst.QueryTypeDefinition type_get_details (Gst.QueryType type);
- public static unowned Gst.Iterator type_iterate_definitions ();
+ public static Gst.Iterator<Gst.QueryTypeDefinition> type_iterate_definitions ();
public static Gst.QueryType type_register (string nick, string description);
public static GLib.Quark type_to_quark (Gst.QueryType query);
public static bool types_contains (Gst.QueryType types, Gst.QueryType type);
@@ -2611,7 +2611,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.FormatDefinition format_get_details (Gst.Format format);
[CCode (cheader_filename = "gst/gst.h")]
- public static unowned Gst.Iterator format_iterate_definitions ();
+ public static Gst.Iterator<Gst.FormatDefinition> format_iterate_definitions ();
[CCode (cheader_filename = "gst/gst.h")]
public static Gst.Format format_register (string nick, string description);
[CCode (cheader_filename = "gst/gst.h")]
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 0ce94ab..09715ba 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -12,12 +12,12 @@ gst_bin_remove_many hidden="1"
gst_bin_get_by_name transfer_ownership="1" nullable="1"
gst_bin_get_by_name_recurse_up transfer_ownership="1" nullable="1"
gst_bin_get_by_interface transfer_ownership="1" nullable="1"
-gst_bin_iterate_elements transfer_ownership="1"
-gst_bin_iterate_recurse transfer_ownership="1"
-gst_bin_iterate_sinks transfer_ownership="1"
-gst_bin_iterate_sorted transfer_ownership="1"
-gst_bin_iterate_sources transfer_ownership="1"
-gst_bin_iterate_all_by_interface transfer_ownership="1"
+gst_bin_iterate_elements transfer_ownership="1" type_arguments="Element"
+gst_bin_iterate_recurse transfer_ownership="1" type_arguments="Element"
+gst_bin_iterate_sinks transfer_ownership="1" type_arguments="Element"
+gst_bin_iterate_sorted transfer_ownership="1" type_arguments="Element"
+gst_bin_iterate_sources transfer_ownership="1" type_arguments="Element"
+gst_bin_iterate_all_by_interface transfer_ownership="1" type_arguments="Element"
gst_bin_find_unconnected_pad transfer_ownership="1" nullable="1"
gst_bin_find_unlinked_pad transfer_ownership="1" nullable="1"
GstBuffer base_class="GstMiniObject"
@@ -149,7 +149,7 @@ gst_element_class_get_pad_template nullable="1"
gst_element_class_get_pad_template_list type_arguments="PadTemplate"
gst_element_post_message.message takes_ownership="1"
gst_element_get_compatible_pad.caps nullable="1"
-gst_element_iterate_*pads transfer_ownership="1"
+gst_element_iterate_*pads transfer_ownership="1" type_arguments="Pad"
gst_element_get_factory nullable="1"
gst_element_get_index transfer_ownership="1" nullable="1"
gst_element_set_index.index nullable="1"
@@ -171,7 +171,6 @@ gst_element_factory_create.name nullable="1"
gst_element_factory_get_static_pad_templates type_arguments="StaticPadTemplate"
gst_element_factory_find transfer_ownership="1" nullable="1"
gst_element_factory_get_uri_protocols is_array="1" array_null_terminated="1" transfer_ownership="1" nullable="1"
-gst_element_iterate_pads transfer_ownership="1" type_arguments="Pad"
gst_error_get_message transfer_ownership="1"
GstEvent base_class="GstMiniObject"
GstEvent.mini_object hidden="1"
@@ -194,6 +193,7 @@ GstFlowReturn to_string="gst_flow_get_name"
gst_flow_get_name hidden="1"
GstFormat to_string="gst_format_get_name"
gst_format_get_name hidden="1"
+gst_format_iterate_definitions type_arguments="FormatDefinition" transfer_ownership="1"
GstFormatDefinition is_value_type="1"
GstGhostPad base_class="GstPad"
GstGhostPadClass hidden="1"
@@ -367,6 +367,7 @@ gst_pad_send_event.event takes_ownership="1"
gst_pad_set_query_type_function hidden="1"
gst_pad_set_caps.caps nullable="1"
gst_pad_template_new.caps takes_ownership="1"
+gst_pad_iterate_internal_links* transfer_ownership="1" type_arguments="Pad"
gst_ghost_pad_new.name nullable="1"
gst_ghost_pad_new_from_template.name nullable="1"
gst_ghost_pad_new_no_target.name nullable="1"
@@ -412,6 +413,7 @@ gst_query_parse_segment.format is_out="1"
gst_query_parse_segment.start_value is_out="1"
gst_query_parse_segment.stop_value is_out="1"
gst_query_type_get_name hidden="1"
+gst_query_type_iterate_definitions transfer_ownership="1" type_arguments="QueryTypeDefinition"
gst_registry_feature_filter.filter delegate_target_pos="2.1"
gst_registry_feature_filter transfer_ownership="1" type_arguments="PluginFeature"
gst_registry_get_feature_list transfer_ownership="1" type_arguments="PluginFeature"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]