AVCodecContext.thread_type

Which multithreading methods to use. Use of FF_THREAD_FRAME will increase decoding delay by one frame per thread, so clients which cannot provide future frames should not use it.

- encoding: Set by user, otherwise the default is used. - decoding: Set by user, otherwise the default is used.

struct AVCodecContext
int thread_type;

Meta