summaryrefslogtreecommitdiffstats
path: root/video/out/pnm_loader.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-05 20:47:42 +0100
committerwm4 <wm4@nowhere>2014-11-05 21:52:20 +0100
commit6ab364df4b2a80b53f46d5ba3bd46a5557c90f5a (patch)
tree55a2d3ba502f323e3745597b3cbc53df7474d5c1 /video/out/pnm_loader.c
parent805e952d82536f0ea435ca1e7c82178fb00640c6 (diff)
downloadmpv-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