]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Fix Gst.Pipeline bindings
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 22 Jun 2010 11:46:25 +0000 (13:46 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 23 Jun 2010 09:38:46 +0000 (11:38 +0200)
Some ownership and nullable changes.

vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index 21eeb3522c17c80c7d358fe25f519a04aa88337c..0234e627697c4ee32a5c1197f6fe1693fb0e5547 100644 (file)
@@ -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; }
        }
index 61991a63eb132f7ab9ea1464f3dc38e9ed926595..27bb7e37d0664cf2fc9d3cbecc58af9ce0c7efbf 100644 (file)
@@ -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"