summaryrefslogtreecommitdiff
path: root/gst/gstclock.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstclock.h')
-rw-r--r--gst/gstclock.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/gstclock.h b/gst/gstclock.h
index ee2e064529..1afbd22114 100644
--- a/gst/gstclock.h
+++ b/gst/gstclock.h
@@ -260,6 +260,7 @@ typedef gboolean (*GstClockCallback) (GstClock *clock, GstClockTime time,
* @GST_CLOCK_BADTIME: A bad time was provided to a function.
* @GST_CLOCK_ERROR: An error occurred
* @GST_CLOCK_UNSUPPORTED: Operation is not supported
+ * @GST_CLOCK_DONE: The ClockID is done waiting
*
* The return value of a clock operation.
*/
@@ -271,7 +272,8 @@ typedef enum
GST_CLOCK_BUSY = 3,
GST_CLOCK_BADTIME = 4,
GST_CLOCK_ERROR = 5,
- GST_CLOCK_UNSUPPORTED = 6
+ GST_CLOCK_UNSUPPORTED = 6,
+ GST_CLOCK_DONE = 7
} GstClockReturn;
/**
@@ -349,6 +351,8 @@ struct _GstClockEntry {
GstClockCallback func;
gpointer user_data;
GDestroyNotify destroy_data;
+ gboolean unscheduled;
+ gboolean woken_up;
};
/**