Query.newConvert

gst.query.Query newConvert(gst.types.Format srcFormat, long value, gst.types.Format destFormat)

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()

Parameters

srcFormatthe source #GstFormat for the new query
valuethe value to convert
destFormatthe target #GstFormat

Returns

a #GstQuery