public class AllocationQuery extends Query
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstQuery.html#gst-query-new-allocation
Query.TypesMiniObject.HandleNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>GTYPE_NAME| Constructor and Description |
|---|
AllocationQuery(Caps caps,
boolean need_pool)
Create a new allocation query.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllocationPool(BufferPool pool,
int size,
int min_buffers,
int max_buffers)
Set the pool parameters of the query.
|
Caps |
getCaps()
Get the requested
Caps |
boolean |
isPoolNeeded()
Whether a
BufferPool is needed. |
getStructurecopy, getRefCount, isWritable, makeWritableclose, disown, dispose, equals, getPointer, getRawPointer, hashCode, invalidate, toStringpublic boolean isPoolNeeded()
BufferPool is needed.public void addAllocationPool(BufferPool pool, int size, int min_buffers, int max_buffers)
pool - the BufferPoolsize - the buffer sizemin_buffers - the min buffersmax_buffers - the max buffersCopyright © 2021 gstreamer-java. All rights reserved.