mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +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)
|
||||
|
@ -1405,7 +1407,7 @@ gst_clock_id_get_clock (GstClockID id)
|
|||
* gst_clock_id_uses_clock:
|
||||
* @id: a #GstClockID to check
|
||||
* @clock: a #GstClock to compare against
|
||||
*
|
||||
*
|
||||
* This function returns whether @id uses @clock as the underlying clock.
|
||||
* @clock can be NULL, in which case the return value indicates whether
|
||||
* the underlying clock has been freed. If this is the case, the @id is
|
||||
|
@ -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