systemclock: add OTHER clock type
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 20 Dec 2012 15:40:04 +0000 (16:40 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 4 Jan 2013 12:23:17 +0000 (12:23 +0000)
Add an OTHER clock type so that subclasses are able to mark themselves as
using some other clock source than the realtime or monotonic clock.

gst/gstsystemclock.h

index 42aadefbc563726563f1677e6ee622e950f379a0..cf4ce5f153697fb7276e5f897cb78126c67afa7d 100644 (file)
@@ -47,12 +47,14 @@ typedef struct _GstSystemClockPrivate GstSystemClockPrivate;
  * @GST_CLOCK_TYPE_REALTIME: time since Epoch
  * @GST_CLOCK_TYPE_MONOTONIC: monotonic time since some unspecified starting
  *                            point
+ * @@GST_CLOCK_TYPE_OTHER: some other time source is used
  *
  * The different kind of clocks.
  */
 typedef enum {
   GST_CLOCK_TYPE_REALTIME       = 0,
-  GST_CLOCK_TYPE_MONOTONIC      = 1
+  GST_CLOCK_TYPE_MONOTONIC      = 1,
+  GST_CLOCK_TYPE_OTHER          = 2
 } GstClockType;
 
 /**