[vala] gstreamer: Fix Gst.GhostPad bindings



commit 61fd606770a861c616bf1455e217afe25e4254be
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date:   Sun Apr 4 21:35:02 2010 +0200

    gstreamer: Fix Gst.GhostPad bindings

 vapi/gstreamer-0.10.vapi                           |    9 ++++-----
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    5 +++++
 2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index c4261b6..0496392 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -529,14 +529,13 @@ namespace Gst {
 	public class GhostPad : Gst.Pad {
 		[CCode (type = "GstPad*", has_construct_function = false)]
 		public GhostPad (string? name, Gst.Pad target);
-		public bool @construct ();
 		[CCode (type = "GstPad*", has_construct_function = false)]
-		public GhostPad.from_template (string name, Gst.Pad target, Gst.PadTemplate templ);
-		public unowned Gst.Pad get_target ();
+		public GhostPad.from_template (string? name, Gst.Pad target, Gst.PadTemplate templ);
+		public Gst.Pad? get_target ();
 		[CCode (type = "GstPad*", has_construct_function = false)]
-		public GhostPad.no_target (string name, Gst.PadDirection dir);
+		public GhostPad.no_target (string? name, Gst.PadDirection dir);
 		[CCode (type = "GstPad*", has_construct_function = false)]
-		public GhostPad.no_target_from_template (string name, Gst.PadTemplate templ);
+		public GhostPad.no_target_from_template (string? name, Gst.PadTemplate templ);
 		public bool set_target (Gst.Pad? newtarget);
 	}
 	[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 97f7760..1028e49 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -286,7 +286,12 @@ gst_pad_set_query_type_function hidden="1"
 gst_pad_set_caps.caps nullable="1"
 gst_pad_template_new.caps takes_ownership="1"
 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"
+gst_ghost_pad_new_no_target_from_template.name nullable="1"
 gst_ghost_pad_set_target.newtarget nullable="1"
+gst_ghost_pad_get_target transfer_ownership="1" nullable="1"
+gst_ghost_pad_construct hidden="1"
 GstPadTemplate::pad_created has_emitter="1"
 gst_parse_launchv.argv is_array="1" array_null_terminated="1"
 gst_parse_launchv transfer_ownership="1" nullable="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]