diff options
author | wm4 <wm4@nowhere> | 2014-11-05 20:47:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-05 21:52:20 +0100 |
commit | 6ab364df4b2a80b53f46d5ba3bd46a5557c90f5a (patch) | |
tree | 55a2d3ba502f323e3745597b3cbc53df7474d5c1 /video/out/pnm_loader.c | |
parent | 805e952d82536f0ea435ca1e7c82178fb00640c6 (diff) | |
download | mpv-6ab364df4b2a80b53f46d5ba3bd46a5557c90f5a.tar.bz2 mpv-6ab364df4b2a80b53f46d5ba3bd46a5557c90f5a.tar.xz |
demux_mkv: apply subtitle preroll only if needed, based on cue index
The demuxer has a hack to seek to the cluster before the target cluster
in order to "catch" subtitle lines that start before the seek target,
but overlap with the video after the seek target.
Avoid this hack if the cue index indicates that there are no overlapping
subtitle packets that can be caught by seeking to the previous cluster.
Diffstat (limited to 'video/out/pnm_loader.c')
0 files changed, 0 insertions, 0 deletions