AVHWFramesContext.initial_pool_size

Initial size of the frame pool. If a device type does not support dynamically resizing the pool, then this is also the maximum pool size.

May be set by the caller before calling av_hwframe_ctx_init(). Must be set if pool is NULL and the device type does not support dynamic pools.

struct AVHWFramesContext
int initial_pool_size;

Meta