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_get_n_allocation_pools() and gst_query_parse_nth_allocation_pool().

class Query
void
parseAllocation
(,
out bool needPool
)

Parameters

caps Caps

The #GstCaps

needPool bool

Whether a #GstBufferPool is needed

Meta