diff options
Diffstat (limited to 'libavcodec/srtenc.c')
-rw-r--r-- | libavcodec/srtenc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/srtenc.c b/libavcodec/srtenc.c index 346f281af3..edc91c4013 100644 --- a/libavcodec/srtenc.c +++ b/libavcodec/srtenc.c @@ -25,6 +25,7 @@ #include "libavutil/bprint.h" #include "ass_split.h" #include "ass.h" +#include "internal.h" #define SRT_STACK_SIZE 64 @@ -299,6 +300,7 @@ const AVCodec ff_srt_encoder = { .init = srt_encode_init, .encode_sub = srt_encode_frame, .close = srt_encode_close, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -312,6 +314,7 @@ const AVCodec ff_subrip_encoder = { .init = srt_encode_init, .encode_sub = srt_encode_frame, .close = srt_encode_close, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -325,5 +328,6 @@ const AVCodec ff_text_encoder = { .init = srt_encode_init, .encode_sub = text_encode_frame, .close = srt_encode_close, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |