mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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:
parent
17bff49262
commit
49344ecad4
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue