clock: Add new functions to the documentation

This commit is contained in:
Sebastian Dröge 2018-11-03 18:29:17 +02:00
parent f34472822c
commit 4de89865d4
2 changed files with 8 additions and 1 deletions

View file

@ -667,6 +667,8 @@ gst_clock_wait_for_sync
gst_clock_is_synced
gst_clock_set_synced
gst_clock_id_get_time
gst_clock_id_get_clock
gst_clock_id_uses_clock
gst_clock_id_wait
gst_clock_id_wait_async
gst_clock_id_unschedule

View file

@ -1389,6 +1389,8 @@ gst_clock_get_master (GstClock * clock)
* underlying clock has been freed. Unref after usage.
*
* MT safe.
*
* Since: 1.16
*/
GstClock *
gst_clock_id_get_clock (GstClockID id)
@ -1414,6 +1416,8 @@ gst_clock_id_get_clock (GstClockID id)
* Returns: whether the clock @id uses the same underlying #GstClock @clock.
*
* MT safe.
*
* Since: 1.16
*/
gboolean
gst_clock_id_uses_clock (GstClockID id, GstClock * clock)
@ -1423,6 +1427,7 @@ gst_clock_id_uses_clock (GstClockID id, GstClock * clock)
gboolean ret = FALSE;
g_return_val_if_fail (id != NULL, FALSE);
g_return_val_if_fail (clock != NULL, FALSE);
entry = (GstClockEntry *) id;
entry_clock = g_weak_ref_get (&entry->ABI.clock);