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 Query.getNAllocationPools and Query.parseNthAllocationPool.

class Query
void
parseAllocation
(,
out bool needPool
)

Parameters

caps Caps
needPool bool

Whether a gstreamer.BufferPool is needed