mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
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).
This commit is contained in:
parent
d41c019da0
commit
3d6a246b4b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue