Harness.waitForClockIdWaits

bool waitForClockIdWaits(uint waits, uint timeout)

Waits for timeout seconds until waits number of #GstClockID waits is registered with the #GstTestClock. Useful for writing deterministic tests, where you want to make sure that an expected number of waits have been reached.

MT safe.

Parameters

waitsa #guint describing the numbers of #GstClockID registered with the #GstTestClock
timeouta #guint describing how many seconds to wait for waits to be true

Returns

a gboolean true if the waits have been registered, false if not.

(Could be that it timed out waiting or that more waits than waits was found)