systemclock: add OTHER clock type

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.
This commit is contained in:
Wim Taymans 2012-12-20 16:40:04 +01:00
parent 17bff49262
commit 49344ecad4

View 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;
/**