summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-16 00:27:53 +0200
committerwm4 <wm4@nowhere>2013-09-20 21:20:36 +0200
commitab816f1ab19bbe376c9aac7ec8920098ecea700d (patch)
tree73d94bc75d1db1c1f03afc26fef0e074ae5083ef /etc
parent7b8d3602880869b16ae1fa036b76102d34aec923 (diff)
downloadmpv-ab816f1ab19bbe376c9aac7ec8920098ecea700d.tar.bz2
mpv-ab816f1ab19bbe376c9aac7ec8920098ecea700d.tar.xz
mplayer: read subtitle packets as soon as possible
Call update_subtitles() on every iteration of the playloop, so that subtitle packets are read as soon as possible, instead of every time a video frame is displayed. This helps in case the packet queue is swamped with subtitle packets, which can happen with certain insane mkv files. The change will simply cause the subtitle queue to be emptied on each playloop iteration. The timestamps update_subtitles() uses for display are the same before and after this commit. (Important for files which have subtitle packets with timestamps or duration not set.)
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions