diff options
| author | Clément Bœsch <[email protected]> | 2012-10-27 00:01:49 +0200 |
|---|---|---|
| committer | Clément Bœsch <[email protected]> | 2012-10-28 20:45:58 +0100 |
| commit | 3d6a246b4b92aca9e2a3992c54e45eb501f4de2f (patch) | |
| tree | 2ae8099b8564f37ed064db1b12816981f05a137a | |
| parent | d41c019da04111f05f375dd1e3bcc3b155267070 (diff) | |
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).
| -rw-r--r-- | libavformat/srtenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; |
