Query.newAllocation

gst.query.Query newAllocation(gst.caps.Caps caps, bool needPool)

Constructs a new query object for querying the allocation properties.

Free-function: gst_query_unref()

Parameters

capsthe negotiated caps
needPoolreturn a pool

Returns

a new #GstQuery