Gst.Query.new_convert
function new_convert(src_format:Gst.Format, value:Number, dest_format:Gst.Format):Gst.Query { // Gjs wrapper for gst_query_new_convert() }
Constructs a new convert query object. Use gst_query_unref() when done with it. A convert query is used to ask for a conversion between one format and another.
Free-function: gst_query_unref
- src_format
the source Gst.Format for the new query
- value
the value to convert
- dest_format
the target Gst.Format
- Returns