Pipeline.useClock

void useClock(gst.clock.Clock clock = null)

Force pipeline to use the given clock. The pipeline will always use the given clock even if new clock providers are added to this pipeline.

If clock is null all clocking will be disabled which will make the pipeline run as fast as possible.

MT safe.

Parameters

clockthe clock to use