mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
clock: Add new functions to the documentation
This commit is contained in:
parent
f34472822c
commit
4de89865d4
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue