]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix gst_element_get_static_pad and gst_regitry_* bindings, patch by
authorJürg Billeter <j@bitron.ch>
Tue, 30 Dec 2008 18:45:25 +0000 (18:45 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Tue, 30 Dec 2008 18:45:25 +0000 (18:45 +0000)
2008-12-30  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/:

Fix gst_element_get_static_pad and gst_regitry_* bindings,
patch by Zeeshan Ali Khattak, fixes bug 539817

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=2244

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

index 80ff5bceff46f34796bf7b3b15df45d2eb46b0d2..7e1139e062d8bbf74a89402756811f754c2e0b55 100644 (file)
@@ -342,7 +342,7 @@ namespace Gst {
                public virtual Gst.QueryType get_query_types ();
                public unowned Gst.Pad get_request_pad (string name);
                public virtual Gst.StateChangeReturn get_state (out Gst.State state, out Gst.State pending, Gst.ClockTime timeout);
-               public unowned Gst.Pad get_static_pad (string name);
+               public Gst.Pad? get_static_pad (string name);
                public bool implements_interface (GLib.Type iface_type);
                [CCode (cname = "gst_element_class_install_std_props")]
                public class void install_std_props (...);
@@ -1038,19 +1038,19 @@ namespace Gst {
                public bool add_feature (Gst.PluginFeature feature);
                public void add_path (string path);
                public bool add_plugin (Gst.Plugin plugin);
-               public unowned GLib.List feature_filter ([CCode (delegate_target_pos = 2.1)] Gst.PluginFeatureFilter filter, bool first);
-               public unowned Gst.PluginFeature find_feature (string name, GLib.Type type);
-               public unowned Gst.Plugin find_plugin (string name);
+               public GLib.List<Gst.PluginFeature> feature_filter ([CCode (delegate_target_pos = 2.1)] Gst.PluginFeatureFilter filter, bool first);
+               public Gst.PluginFeature find_feature (string name, GLib.Type type);
+               public Gst.Plugin find_plugin (string name);
                public static bool fork_is_enabled ();
                public static void fork_set_enabled (bool enabled);
                public static unowned Gst.Registry get_default ();
-               public unowned GLib.List get_feature_list (GLib.Type type);
-               public unowned GLib.List get_feature_list_by_plugin (string name);
-               public unowned GLib.List get_path_list ();
-               public unowned GLib.List get_plugin_list ();
-               public unowned Gst.Plugin lookup (string filename);
-               public unowned Gst.PluginFeature lookup_feature (string name);
-               public unowned GLib.List plugin_filter (Gst.PluginFilter filter, bool first);
+               public GLib.List<Gst.PluginFeature> get_feature_list (GLib.Type type);
+               public GLib.List<Gst.PluginFeature> get_feature_list_by_plugin (string name);
+               public GLib.List<string> get_path_list ();
+               public GLib.List<Gst.Plugin> get_plugin_list ();
+               public Gst.Plugin lookup (string filename);
+               public Gst.PluginFeature lookup_feature (string name);
+               public GLib.List<Gst.Plugin> plugin_filter (Gst.PluginFilter filter, bool first);
                public void remove_feature (Gst.PluginFeature feature);
                public void remove_plugin (Gst.Plugin plugin);
                public bool scan_path (string path);
index 7366f0c1c34a086320223174797ddfaaf6bb3141..6cf37ce0629f6ac72ff46f5a831286180ea62970 100644 (file)
@@ -54,6 +54,7 @@ gst_element_send_event.event takes_ownership="1"
 gst_element_get_bus transfer_ownership="1"
 gst_element_make_from_uri transfer_ownership="1" nullable="1"
 gst_element_make_from_uri.elementname nullable="1"
+gst_element_get_static_pad transfer_ownership="1" nullable="1"
 GstElementDetails is_value_type="1"
 gst_element_factory_make transfer_ownership="1" nullable="1"
 gst_element_factory_make.name nullable="1"
@@ -197,6 +198,16 @@ 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_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"
+gst_registry_get_feature_list_by_plugin transfer_ownership="1" type_arguments="PluginFeature"
+gst_registry_get_path_list transfer_ownership="1" type_arguments="string"
+gst_registry_get_plugin_list transfer_ownership="1" type_arguments="Plugin"
+gst_registry_lookup transfer_ownership="1"
+gst_registry_lookup_feature transfer_ownership="1"
+gst_registry_find_plugin transfer_ownership="1"
+gst_registry_find_feature transfer_ownership="1"
+gst_registry_plugin_filter transfer_ownership="1" type_arguments="Plugin"
 gst_segment_clip.clip_start is_out="1"
 gst_segment_clip.clip_stop is_out="1"
 gst_segment_copy transfer_ownership="1"