summaryrefslogtreecommitdiffstats
path: root/options/parse_commandline.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-27 23:45:02 +0200
committerwm4 <wm4@nowhere>2015-08-27 23:45:02 +0200
commitc61675320b6f04684677e7064b0d6e38f6b23547 (patch)
tree64ddfb5fb2a77d29fd1cad297475e4c73053b970 /options/parse_commandline.c
parent3c86bd2bb521fd006070709e1f68d672be1937f9 (diff)
downloadmpv-c61675320b6f04684677e7064b0d6e38f6b23547.tar.bz2
mpv-c61675320b6f04684677e7064b0d6e38f6b23547.tar.xz
sd_ass: assume negative durations are unknown durations, and handle them
The FFmpeg can officially not distinguish between unknown subtitle durations, and subtitle durations being 0. (It documents the value 0 meaning unknown duration.) In practice, at least the LRC demuxer signals unknown subtitle durations with a negative value. Assume negative durations mean unknown duration. Show subtitles with unknown duration forever. Unless there's a subtitle event following it; then reset the duration so that it ends on the new subtitle event. Fixes #2244.
Diffstat (limited to 'options/parse_commandline.c')
0 files changed, 0 insertions, 0 deletions