wait_for_sync
Description:
Waits until this is synced for reporting the current time.
If timeout
is CLOCK_TIME_NONE it will wait forever,
otherwise it will time out after timeout
nanoseconds.
For asynchronous waiting, the synced signal can be used.
This returns immediately with true
if
NEEDS_STARTUP_SYNC is not set on the clock, or if the clock is already synced.
Parameters:
this |
a GstClock |
timeout |
timeout for waiting or CLOCK_TIME_NONE |
Returns:
|