From: Sebastian Dröge Date: Sat, 27 Mar 2010 09:45:14 +0000 (+0100) Subject: gstreamer: Fix ownerships and static-ness of Gst.ChildProxy methods X-Git-Tag: 0.9.1~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e8f23a8a613ac9202553073abae1469eb4e1020;p=thirdparty%2Fvala.git gstreamer: Fix ownerships and static-ness of Gst.ChildProxy methods --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index d92ac714d..58d88d52f 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -1414,16 +1414,16 @@ namespace Gst { } [CCode (cheader_filename = "gst/gst.h")] public interface ChildProxy : Gst.Object { - public static void @get (Gst.Object object, ...); - public abstract unowned Gst.Object get_child_by_index (uint index); - public unowned Gst.Object get_child_by_name (string name); + public void @get (string first_property_name, ...); + public abstract Gst.Object get_child_by_index (uint index); + public Gst.Object get_child_by_name (string name); public abstract uint get_children_count (); - public static void get_property (Gst.Object object, string name, Gst.Value value); - public static void get_valist (Gst.Object object, string first_property_name, void* var_args); - public static bool lookup (Gst.Object object, string name, out unowned Gst.Object target, out unowned GLib.ParamSpec pspec); - public static void @set (Gst.Object object, ...); - public static void set_property (Gst.Object object, string name, Gst.Value value); - public static void set_valist (Gst.Object object, string first_property_name, void* var_args); + public void get_property (string name, ref Gst.Value value); + public void get_valist (string first_property_name, void* var_args); + public bool lookup (string name, out Gst.Object target, out unowned GLib.ParamSpec pspec); + public void @set (string first_property_name, ...); + public void set_property (string name, Gst.Value value); + public void set_valist (string first_property_name, void* var_args); [HasEmitter] public signal void child_added (GLib.Object child); [HasEmitter] 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 69c71de20..46bd7944a 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala @@ -79,6 +79,16 @@ namespace Gst { public bool async_signal_func (Gst.Bus bus, Gst.Message message); } + public interface ChildProxy : Gst.Object { + public void @get (string first_property_name, ...); + public void get_property (string name, ref Gst.Value value); + public void get_valist (string first_property_name, void* var_args); + public bool lookup (string name, out Gst.Object target, out unowned GLib.ParamSpec pspec); + public void @set (string first_property_name, ...); + public void set_property (string name, Gst.Value value); + public void set_valist (string first_property_name, void* var_args); + } + [CCode (cheader_filename = "gst/gst.h")] public class Pad { [CCode (array_length_pos = 0, delegate_target_pos = 0)] diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata index 7a59d1d9e..3b323264e 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata @@ -83,6 +83,15 @@ gst_caps_to_string transfer_ownership="1" gst_caps_replace hidden="1" GstChildProxy::child_added has_emitter="1" GstChildProxy::child_removed has_emitter="1" +gst_child_proxy_get_child_by_name transfer_ownership="1" +gst_child_proxy_get_child_by_index transfer_ownership="1" +gst_child_proxy_get hidden="1" +gst_child_proxy_get_property hidden="1" +gst_child_proxy_get_valist hidden="1" +gst_child_proxy_set hidden="1" +gst_child_proxy_set_property hidden="1" +gst_child_proxy_set_valist hidden="1" +gst_child_proxy_lookup hidden="1" GstClockTime hidden="1" GstClockTimeDiff hidden="1" GstControlSource.get_value hidden="1"