Gst.Pipeline.prototype.set_clock

function set_clock(clock:Gst.Clock):Boolean {
    // Gjs wrapper for gst_pipeline_set_clock()
}

Set the clock for pipeline. The clock will be distributed to all the elements managed by the pipeline.

clock

the clock to set

Returns

TRUE if the clock could be set on the pipeline. FALSE if some element did not accept the clock. MT safe.