From: Jürg Billeter Date: Tue, 30 Dec 2008 18:45:25 +0000 (+0000) Subject: Fix gst_element_get_static_pad and gst_regitry_* bindings, patch by X-Git-Tag: VALA_0_5_4~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed3812986d9a4ff3bf7fa4c442704d64171f3c7;p=thirdparty%2Fvala.git Fix gst_element_get_static_pad and gst_regitry_* bindings, patch by 2008-12-30 Jürg Billeter * 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 --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 80ff5bcef..7e1139e06 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -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 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 get_feature_list (GLib.Type type); + public GLib.List get_feature_list_by_plugin (string name); + public GLib.List get_path_list (); + public GLib.List get_plugin_list (); + public Gst.Plugin lookup (string filename); + public Gst.PluginFeature lookup_feature (string name); + public GLib.List 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); diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata index 7366f0c1c..6cf37ce06 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata @@ -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"