From: Thijs Vermeir Date: Wed, 2 Jun 2010 14:02:39 +0000 (+0200) Subject: gstreamer0.10: Fix bindings for gst_clock_new_*_id X-Git-Tag: 0.9.1~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81b40cf1e8777bda69dbe69dd204c5fc5c8c35d2;p=thirdparty%2Fvala.git gstreamer0.10: Fix bindings for gst_clock_new_*_id Fix bindings for gst_clock_new_periodic_id and gst_clock_new_single_shot_id --- diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index cb5ce54a9..7f33f3bc2 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -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); diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala index b27bc50f7..f2cfc4f87 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala @@ -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); }