From: Sebastian Dröge Date: Tue, 22 Jun 2010 11:46:25 +0000 (+0200) Subject: gstreamer-0.10: Fix Gst.Pipeline bindings X-Git-Tag: 0.9.3~110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4480feb908c1ba43d6eb5fc98047fe33c700ff55;p=thirdparty%2Fvala.git gstreamer-0.10: Fix Gst.Pipeline bindings Some ownership and nullable changes. --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 21eeb3522..0234e6276 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 61991a63e..27bb7e37d 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"