AppSink.setMaxBytes

void setMaxBytes(ulong max)

Set the maximum total size 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

maxthe maximum total size of buffers to queue, in bytes