]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer0.10: Fix bindings for gst_clock_new_*_id
authorThijs Vermeir <thijsvermeir@gmail.com>
Wed, 2 Jun 2010 14:02:39 +0000 (16:02 +0200)
committerThijs Vermeir <thijsvermeir@gmail.com>
Wed, 2 Jun 2010 14:02:54 +0000 (16:02 +0200)
Fix bindings for gst_clock_new_periodic_id and gst_clock_new_single_shot_id

vapi/gstreamer-0.10.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala

index cb5ce54a9a31c6ac2fe2856acb33aaf25759a62b..7f33f3bc2bdcbd12ff373d5284eda6973d8f2a2d 100644 (file)
@@ -288,7 +288,9 @@ namespace Gst {
        public class ClockID {
                public static int compare_func (void* id1, void* id2);
                public Gst.ClockTime get_time ();
+               [CCode (cname = "gst_clock_new_periodic_id")]
                public ClockID.periodic (Gst.Clock clock, Gst.ClockTime start_time, Gst.ClockTime interval);
+               [CCode (cname = "gst_clock_new_single_shot_id")]
                public ClockID.single_shot (Gst.Clock clock, Gst.ClockTime time);
                public void unschedule ();
                public Gst.ClockReturn wait (Gst.ClockTimeDiff jitter);
index b27bc50f73e3893d122bc7ae2f7f358510e90033..f2cfc4f87e88ed75ddef28e255c5f76b685027e1 100644 (file)
@@ -34,7 +34,9 @@ namespace Gst {
 
        [Compact]
        public class ClockID {
+               [CCode (cname="gst_clock_new_single_shot_id")]
                public ClockID.single_shot (Gst.Clock clock, Gst.ClockTime time);
+               [CCode (cname="gst_clock_new_periodic_id")]
                public ClockID.periodic (Gst.Clock clock, Gst.ClockTime start_time, Gst.ClockTime interval);
        }