[vala] gstreamer-0.10: add bindings for some GstClockTime methods



commit 6a3c8003ff3e142f18520d57c4b2d18d6d8fb5c7
Author: Thijs Vermeir <thijsvermeir gmail com>
Date:   Thu Jul 23 23:49:15 2009 +0200

    gstreamer-0.10: add bindings for some GstClockTime methods
    
    Add bindings for GST_TIME_ARGS and GST_CLOCK_TIME_IS_VALID

 vapi/gstreamer-0.10.vapi                           |    4 ++++
 .../gstreamer-0.10/gstreamer-0.10-custom.vala      |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 216a3c0..c96c940 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -1340,6 +1340,10 @@ namespace Gst {
 	[SimpleType]
 	[IntegerType (rank = 0)]
 	public struct ClockTime : uint64 {
+		[CCode (cname = "GST_TIME_ARGS")]
+		public unowned string args ();
+		[CCode (cname = "GST_CLOCK_TIME_IS_VALID")]
+		public bool is_valid ();
 	}
 	[CCode (cheader_filename = "gst/gst.h")]
 	[SimpleType]
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 11560ca..335a6a6 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala
@@ -23,6 +23,10 @@ namespace Gst {
 	public extern void init ([CCode (array_length_pos = 0.9)] ref weak string[] args);
 
 	public struct ClockTime : uint64 {
+		[CCode (cname="GST_TIME_ARGS")]
+		public weak string args ();
+		[CCode (cname="GST_CLOCK_TIME_IS_VALID")]
+		public bool is_valid ();
 	}
 
 	public struct ClockTimeDiff : int64 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]