aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libvpxenc.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-01-10 17:21:52 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-01-11 00:23:07 +0100
commitf6a152db1130976aa0b5da446e5df45e2c7585b8 (patch)
tree2b6ac5147f92b5828579523a65a9118b645efe50 /libavcodec/libvpxenc.c
parent9472d37d8e137df1e78e973b8b0e0d5607a799d5 (diff)
downloadffmpeg-f6a152db1130976aa0b5da446e5df45e2c7585b8.tar.gz
threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs
Diffstat (limited to 'libavcodec/libvpxenc.c')
-rw-r--r--libavcodec/libvpxenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index fce3de0ea8..64ff2c1eaa 100644
--- a/libavcodec/libvpxenc.c
+++ b/libavcodec/libvpxenc.c
@@ -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,