[FFmpeg-devel] [PATCH 5/5] avcodec/libsvtav1: remove the auto thread flag

lance.lmwang at gmail.com lance.lmwang at gmail.com
Sat Aug 1 14:22:43 EEST 2020


From: Limin Wang <lance.lmwang at gmail.com>

Please use the cores and socket for the setting of multi-thread.

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
 libavcodec/libsvtav1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
index 78e0ee5..dfb361a 100644
--- a/libavcodec/libsvtav1.c
+++ b/libavcodec/libsvtav1.c
@@ -556,7 +556,7 @@ AVCodec ff_libsvtav1_encoder = {
     .init           = eb_enc_init,
     .receive_packet = eb_receive_packet,
     .close          = eb_enc_close,
-    .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
+    .capabilities   = AV_CODEC_CAP_DELAY,
     .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P,
                                                     AV_PIX_FMT_YUV420P10,
                                                     AV_PIX_FMT_NONE },
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list