aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhwrenx <hwrenx@126.com>2018-12-26 19:14:33 +0800
committerSteven Liu <lq@chinaffmpeg.org>2018-12-26 19:14:33 +0800
commit7499d0b0159f61cd74b0dbd1419bf7a93d12c74d (patch)
tree1321306b937efc7bfd6ecd0ced75cfa92fbaf7bc
parent9ce96a744d6ffb1006712ac76d91d69032ebb82b (diff)
downloadffmpeg-7499d0b0159f61cd74b0dbd1419bf7a93d12c74d.tar.gz
lavc/libdavs2: enable multithread
Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: hwrenx <hwrenx@126.com>
-rw-r--r--libavcodec/libdavs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index 37635bbef9..2846ecfad7 100644
--- a/libavcodec/libdavs2.c
+++ b/libavcodec/libdavs2.c
@@ -205,7 +205,7 @@ AVCodec ff_libdavs2_decoder = {
.init = davs2_init,
.close = davs2_end,
.decode = davs2_decode_frame,
- .capabilities = AV_CODEC_CAP_DELAY,//AV_CODEC_CAP_DR1 |
+ .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NONE },
.wrapper_name = "libdavs2",