aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-12-23 15:08:58 +0100
committerwm4 <nfxjfg@googlemail.com>2015-12-23 15:08:58 +0100
commita0ec4aebabe1f816cc69e20309981907ba5d1395 (patch)
tree8593fd05f90858c3f89fb7af071c4c5d44e79f28 /ffmpeg_opt.c
parent57787f5ef8235f77ec9c76c064b378631168c066 (diff)
downloadffmpeg-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