BufferPool.configAddOption

Enabled the option in config. This will instruct the bufferpool to enable the specified option on the buffers that it allocates.

The supported options by pool can be retrieved with Buffer.poolGetOptions.

class BufferPool
static
void
configAddOption

Parameters

config Structure

a gstreamer.BufferPool configuration

option string

an option to add