Gst.Element.prototype.query_position

function query_position(format:Gst.Format):Boolean {
    // Gjs wrapper for gst_element_query_position()
}

Queries an element for the stream position. If one repeatedly calls this function one can also create and reuse it in Gst.Element.prototype.query.

format

the Gst.Format requested

Returns

TRUE if the query could be performed.