return (GstClockID) entry;
}
-/* WARNING : Does not modify the refoucnt
+/* WARNING : Does not modify the refcount
* WARNING : Do not use if a pending clock operation is happening on that entry */
static gboolean
gst_clock_entry_reinit (GstClock * clock, GstClockEntry * entry,
}
/**
+ * gst_clock_periodic_id_reinit:
+ * @clock: a #GstClock
+ * @id: a #GstClockID
+ * @start_time: the requested start time
+ * @interval: the requested interval
+ *
+ * Reinitializes the provided periodic @id to the provided start time and
+ * interval. Does not modify the reference count.
+ *
+ * Returns: %TRUE if the GstClockID could be reinitialized to the provided
+ * @time, else %FALSE.
+ *
+ * Since: 0.10.33
+ *
+ */
+gboolean
+gst_clock_periodic_id_reinit (GstClock * clock, GstClockID id,
+ GstClockTime start_time, GstClockTime interval)
+{
+ return gst_clock_entry_reinit (clock, (GstClockEntry *) id, start_time,
+ interval, GST_CLOCK_ENTRY_PERIODIC);
+}
+
+/**
* gst_clock_id_ref:
* @id: The #GstClockID to ref
*