Clock.waitForSync
bool waitForSync(gst.types.ClockTime timeout)Waits until clock is synced for reporting the current time. If timeout is [gst.types.CLOCK_TIME_NONE] it will wait forever, otherwise it will time out after timeout nanoseconds.
For asynchronous waiting, the #GstClock::synced signal can be used.
This returns immediately with true if [gst.types.ClockFlags.NeedsStartupSync] is not set on the clock, or if the clock is already synced.
Parameters
timeout | timeout for waiting or [gst.types.CLOCK_TIME_NONE] |
Returns
true if waiting was successful, or false on timeout