Gst.Query.new_position
function new_position(format:Gst.Format):Gst.Query { // Gjs wrapper for gst_query_new_position() }
Constructs a new query stream position query object. Use gst_query_unref() when done with it. A position query is used to query the current position of playback in the streams, in some format.
Free-function: gst_query_unref
- format
the default Gst.Format for the new query
- Returns
a new Gst.Query