avcodec/ttmlenc: Mark encoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-05-05 19:53:16 +02:00
parent 8f9a4ae63e
commit af7468a282
1 changed files with 1 additions and 1 deletions

View File

@ -392,5 +392,5 @@ const AVCodec ff_ttml_encoder = {
.init = ttml_encode_init,
.encode_sub = ttml_encode_frame,
.close = ttml_encode_close,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};