[vala] gstreamer: The Gst.Bin and Gst.Pipeline constructors can take null-strings as parameter



commit 70c5d9395d5c67f017c2315a2d344b84388a88a2
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date:   Thu Apr 8 10:42:25 2010 +0200

    gstreamer: The Gst.Bin and Gst.Pipeline constructors can take null-strings as parameter

 vapi/gstreamer-0.10.vapi                           |    4 ++--
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index ed4a608..655a98c 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -32,7 +32,7 @@ namespace Gst {
 		public weak Gst.Clock provided_clock;
 		public bool state_dirty;
 		[CCode (type = "GstElement*", has_construct_function = false)]
-		public Bin (string name);
+		public Bin (string? name);
 		public bool add (owned Gst.Element element);
 		[NoWrapper]
 		public virtual bool add_element (Gst.Element element);
@@ -945,7 +945,7 @@ namespace Gst {
 		public weak Gst.Clock fixed_clock;
 		public Gst.ClockTime stream_time;
 		[CCode (type = "GstElement*", has_construct_function = false)]
-		public Pipeline (string name);
+		public Pipeline (string? name);
 		public void auto_clock ();
 		public bool get_auto_flush_bus ();
 		public Gst.Bus get_bus ();
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index b239602..c966be2 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -4,6 +4,7 @@ gst_alloc_trace_list type_arguments="AllocTrace"
 GstBin.priv hidden="1"
 GstBin.children type_arguments="Element"
 GstBin.messages type_arguments="Message"
+gst_bin_new.name nullable="1"
 gst_bin_add.element value_owned="1"
 gst_bin_remove.element
 gst_bin_add_many hidden="1"
@@ -335,6 +336,7 @@ GstParamSpecFraction base_class="GParamSpec"
 GstParamSpecFraction.parent_instance hidden="1"
 GstParamSpecMiniObject base_class="GParamSpec"
 GstParamSpecMiniObject.parent_instance hidden="1"
+gst_pipeline_new.name nullable="1"
 gst_pipeline_get_bus transfer_ownership="1"
 GstQuery base_class="GstMiniObject"
 GstQuery.mini_object hidden="1"



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