Gst.Message.new_clock_provide

function new_clock_provide(src:Gst.Object, clock:Gst.Clock, ready:Boolean):Gst.Message {
    // Gjs wrapper for gst_message_new_clock_provide()
}

Create a clock provide message. This message is posted whenever an element is ready to provide a clock or lost its ability to provide a clock (maybe because it paused or became EOS).

This message is mainly used internally to manage the clock selection.

src

the object originating the message.

clock

the clock it provides

ready

TRUE if the sender can provide a clock

Returns

the new provide clock message. MT safe.