threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs
This commit is contained in:
@@ -572,7 +572,7 @@ AVCodec ff_libvpx_encoder = {
|
||||
.init = vp8_init,
|
||||
.encode = vp8_encode,
|
||||
.close = vp8_free,
|
||||
.capabilities = CODEC_CAP_DELAY,
|
||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
|
||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
||||
.long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"),
|
||||
.priv_class = &class,
|
||||
|
Reference in New Issue
Block a user