Query.parseAllocation

void parseAllocation(out gst.caps.Caps caps, out bool needPool)

Parse an allocation query, writing the requested caps in caps and whether a pool is needed in need_pool, if the respective parameters are non-null.

Pool details can be retrieved using gst.query.Query.getNAllocationPools and gst.query.Query.parseNthAllocationPool.

Parameters

capsThe #GstCaps
needPoolWhether a #GstBufferPool is needed