summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-27 01:01:25 +0100
committerwm4 <wm4@nowhere>2015-12-27 02:13:06 +0100
commitd9f8b9f7b235e6092a1e8b35041757e28e08de04 (patch)
tree78fc8a98310492d0a69a7e657526aa665a41d23b /player/sub.c
parentd804e7b903e311824edcc3dee2c39e0754cccaf1 (diff)
downloadmpv-d9f8b9f7b235e6092a1e8b35041757e28e08de04.tar.bz2
mpv-d9f8b9f7b235e6092a1e8b35041757e28e08de04.tar.xz
demux_mkv: adjust subtitle preroll defaults
Always preroll by default if the cue (index) information indicates overlapping subtitles. Increase the amount of maximum data it will skip to get such subtitles to 10 seconds. Since the index information can reliably tell whether reading earlier is needed, the maximum should be rarely actually used, thus we can set it high. On the other hand, the "old" prerolling mechanism always has to skip the maximum amount of data; thus the method using the index gets its own option to control the maximum amount of data to skip. (As more and more files With newer mkvtoolnix versions are muxed, and with this new and hopefully sane default established, these options can probably be removed in the future.)
Diffstat (limited to 'player/sub.c')
0 files changed, 0 insertions, 0 deletions