Gst.Query.new_formats

function new_formats():Gst.Query {
    // Gjs wrapper for gst_query_new_formats()
}

Constructs a new query object for querying formats of the stream.

Free-function: gst_query_unref

Returns

a new Gst.Query