Commit 3d6a246b authored by Clément Bœsch's avatar Clément Bœsch

lavf/srtenc: add AVFMT_TS_NONSTRICT flag.

There is not really a problem in having two events at the same time.
Even if it's not perfectly correct, it helps remuxing more files
(typically our FATE sample).
parent d41c019d
......@@ -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,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment