[FFmpeg-devel] [PATCH 155/217] avcodec/v308enc: Mark encoder as init-threadsafe
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Wed Dec 2 06:21:42 EET 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavcodec/v308enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c
index 0891251dea..67b8dccbca 100644
--- a/libavcodec/v308enc.c
+++ b/libavcodec/v308enc.c
@@ -76,4 +76,5 @@ AVCodec ff_v308_encoder = {
.init = v308_encode_init,
.encode2 = v308_encode_frame,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P, AV_PIX_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
--
2.25.1
More information about the ffmpeg-devel
mailing list