Gst.Element.prototype.get_clock

function get_clock():Gst.Clock {
    // Gjs wrapper for gst_element_get_clock()
}

Gets the currently configured clock of the element. This is the clock as was last set with Gst.set_clock.

Returns

the Gst.Clock of the element. unref after usage. MT safe.