Query.parseAllocation

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.

class Query
void
parseAllocation
(,
out bool needPool
)

Parameters

caps gst.caps.Caps

The #GstCaps

needPool bool

Whether a #GstBufferPool is needed