[vala] gstreamer-0.10: Fix Gst.Pipeline bindings



commit 4480feb908c1ba43d6eb5fc98047fe33c700ff55
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date:   Tue Jun 22 13:46:25 2010 +0200

    gstreamer-0.10: Fix Gst.Pipeline bindings
    
    Some ownership and nullable changes.

 vapi/gstreamer-0.10.vapi                           |    8 +++-----
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    4 ++++
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 21eeb35..0234e62 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -950,21 +950,19 @@ namespace Gst {
 	}
 	[CCode (cheader_filename = "gst/gst.h")]
 	public class Pipeline : Gst.Bin, Gst.ChildProxy {
-		public weak Gst.Clock fixed_clock;
-		public Gst.ClockTime stream_time;
 		[CCode (type = "GstElement*", has_construct_function = false)]
 		public Pipeline (string? name);
 		public void auto_clock ();
 		public bool get_auto_flush_bus ();
 		public Gst.Bus get_bus ();
-		public unowned Gst.Clock get_clock ();
+		public Gst.Clock? get_clock ();
 		public Gst.ClockTime get_delay ();
 		public Gst.ClockTime get_last_stream_time ();
 		public void set_auto_flush_bus (bool auto_flush);
-		public bool set_clock (Gst.Clock clock);
+		public bool set_clock (Gst.Clock? clock);
 		public void set_delay (Gst.ClockTime delay);
 		public void set_new_stream_time (Gst.ClockTime time);
-		public void use_clock (Gst.Clock clock);
+		public void use_clock (Gst.Clock? clock);
 		public bool auto_flush_bus { get; set; }
 		public uint64 delay { get; set; }
 	}
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index 61991a6..27bb7e3 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -425,8 +425,12 @@ GstParamSpecFraction base_class="GParamSpec"
 GstParamSpecFraction.parent_instance hidden="1"
 GstParamSpecMiniObject base_class="GParamSpec"
 GstParamSpecMiniObject.parent_instance hidden="1"
+GstPipeline.* hidden="1"
 gst_pipeline_new.name nullable="1"
 gst_pipeline_get_bus transfer_ownership="1"
+gst_pipeline_get_clock transfer_ownership="1" nullable="1"
+gst_pipeline_set_clock.clock nullable="1"
+gst_pipeline_use_clock.clock nullable="1"
 GstQuery base_class="GstMiniObject"
 GstQuery.mini_object hidden="1"
 GstQueryClass hidden="1"



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