diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-12-23 15:08:58 +0100 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2015-12-23 15:08:58 +0100 |
commit | a0ec4aebabe1f816cc69e20309981907ba5d1395 (patch) | |
tree | 8593fd05f90858c3f89fb7af071c4c5d44e79f28 /ffmpeg_opt.c | |
parent | 57787f5ef8235f77ec9c76c064b378631168c066 (diff) | |
download | ffmpeg-a0ec4aebabe1f816cc69e20309981907ba5d1395.tar.gz |
avformat/subtitles: treat negative duration like unknown duration
Fixes a specific srt sample, which has an event with negative duration.
libavcodec will convert an event with negative duration to an ASS event
which will be displayed forever, which is not wanted here.
Treat negative duration always as unknown duration instead, and show it
until the next subtitle event.
Diffstat (limited to 'ffmpeg_opt.c')
0 files changed, 0 insertions, 0 deletions