Gst.Element.prototype.provide_clock

function provide_clock():Gst.Clock {
    // Gjs wrapper for gst_element_provide_clock()
}

Get the clock provided by the given element. <note>An element is only required to provide a clock in the PAUSED state. Some elements can provide a clock in other states.</note>

Returns

the GstClock provided by the element or null if no clock could be provided. Unref after usage. MT safe.