AVCodecContext.thread_count

thread count is used to decide how many independent tasks should be passed to execute() - encoding: Set by user. - decoding: Set by user.

struct AVCodecContext
int thread_count;

Meta