AppSink.setMaxBuffers
void setMaxBuffers(uint max)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.
Parameters
max | the maximum number of buffers to queue |