diff --git a/libavformat/srtenc.c b/libavformat/srtenc.c index 833823839b..b704920be3 100644 --- a/libavformat/srtenc.c +++ b/libavformat/srtenc.c @@ -92,6 +92,6 @@ AVOutputFormat ff_srt_muxer = { .priv_data_size = sizeof(SRTContext), .write_header = srt_write_header, .write_packet = srt_write_packet, - .flags = AVFMT_VARIABLE_FPS, + .flags = AVFMT_VARIABLE_FPS | AVFMT_TS_NONSTRICT, .subtitle_codec = AV_CODEC_ID_SUBRIP, };