[FFmpeg-cvslog] lavc/libdavs2: enable multithread
hwrenx
git at videolan.org
Wed Dec 26 13:15:45 EET 2018
ffmpeg | branch: master | hwrenx <hwrenx at 126.com> | Wed Dec 26 19:14:33 2018 +0800| [7499d0b0159f61cd74b0dbd1419bf7a93d12c74d] | committer: Steven Liu
lavc/libdavs2: enable multithread
Reviewed-by: Steven Liu <lq at chinaffmpeg.org>
Signed-off-by: hwrenx <hwrenx at 126.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7499d0b0159f61cd74b0dbd1419bf7a93d12c74d
---
libavcodec/libdavs2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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",
More information about the ffmpeg-cvslog
mailing list