[ Version ( since = "1.6" ) ]
public bool wait_for_sync (ClockTime timeout)
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.
this |
a GstClock |
timeout |
timeout for waiting or CLOCK_TIME_NONE |
|