[FFmpeg-devel] [PATCH 151/217] avcodec/v210enc: Mark encoder as init-threadsafe

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Dec 2 06:21:38 EET 2020


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/v210enc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 16e8810271..678affbe2a 100644
--- a/libavcodec/v210enc.c
+++ b/libavcodec/v210enc.c
@@ -166,4 +166,5 @@ AVCodec ff_v210_encoder = {
     .init           = encode_init,
     .encode2        = encode_frame,
     .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV422P, AV_PIX_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
-- 
2.25.1



More information about the ffmpeg-devel mailing list