[vala] gstreamer0.10: Fix bindings for gst_clock_new_*_id
- From: Thijs Vermeir <tvermeir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gstreamer0.10: Fix bindings for gst_clock_new_*_id
- Date: Wed, 2 Jun 2010 14:06:04 +0000 (UTC)
commit 81b40cf1e8777bda69dbe69dd204c5fc5c8c35d2
Author: Thijs Vermeir <thijsvermeir gmail com>
Date: Wed Jun 2 16:02:39 2010 +0200
gstreamer0.10: Fix bindings for gst_clock_new_*_id
Fix bindings for gst_clock_new_periodic_id and gst_clock_new_single_shot_id
vapi/gstreamer-0.10.vapi | 2 ++
.../gstreamer-0.10/gstreamer-0.10-custom.vala | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index cb5ce54..7f33f3b 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 b27bc50..f2cfc4f 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]