Gst.Query.new_segment
function new_segment(format:Gst.Format):Gst.Query { // Gjs wrapper for gst_query_new_segment() }
Constructs a new segment query object. Use gst_query_unref() when done with it. A segment query is used to discover information about the currently configured segment for playback.
Free-function: gst_query_unref
- format
the Gst.Format for the new query
- Returns
a new Gst.Query