AppSink.setMaxBuffers

Set the maximum amount of buffers that can be queued in appsink. After this amount of buffers are queued in appsink, any more buffers will block upstream elements until a sample is pulled from appsink, unless 'drop' is set, in which case new buffers will be discarded.

class AppSink
void
setMaxBuffers
(
uint max
)

Parameters

max uint

the maximum number of buffers to queue