wait_for_sync
Description:
Waits until this is synced for reporting the current time.
If timeout
is gst_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 gst_clock_flag_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 gst_clock_time_none |
Returns:
true if waiting was successful, or false on timeout |