AVFilterGraph.nb_threads

Maximum number of threads used by filters in this graph. May be set by the caller before adding any filters to the filtergraph. Zero (the default) means that the number of threads is determined automatically.

struct AVFilterGraph
int nb_threads;

Meta