AppSink.setMaxBytes

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.

class AppSink
void
setMaxBytes
(
ulong max
)

Parameters

max ulong

the maximum total size of buffers to queue, in bytes