public class BufferPool extends GstObject
See upstream documentation at https://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstBufferPool.html
GstObject.HandleGObject.GCallback, GObject.GInterfaceNativeObject.Initializer, NativeObject.TypeProvider, NativeObject.TypeRegistration<T extends NativeObject>| Modifier and Type | Field and Description |
|---|---|
static String |
GTYPE_NAME |
| Constructor and Description |
|---|
BufferPool()
Creates a new instance of BufferPool
|
| Modifier and Type | Method and Description |
|---|---|
Caps |
getCaps()
Query the
Caps configured on the BufferPool. |
void |
setParams(Caps caps,
int size,
int min_buffers,
int max_buffers)
Configure the BufferPool with the given parameters.
|
addControlBinding, getAsString, getControlBinding, getName, getParent, hasActiveControlBindings, removeControlBinding, setAsString, setControlBindingDisabled, setControlBindingsDisabled, setName, suggestNextSync, syncValues, toStringaddCallback, connect, connect, disconnect, dispose, emit, emit, get, getPropertyDefaultValue, getPropertyMaximumValue, getPropertyMinimumValue, getRefCount, getTypeName, invalidate, listPropertyNames, removeCallback, setclose, disown, equals, getPointer, getRawPointer, hashCodepublic static final String GTYPE_NAME
public void setParams(Caps caps, int size, int min_buffers, int max_buffers)
caps - the Caps for the bufferssize - the size of each buffer, not including prefix and paddingmin_buffers - the minimum amount of buffers to allocatemax_buffers - the maximum amount of buffers to allocate or 0 for unlimitedCopyright © 2021 gstreamer-java. All rights reserved.