diff options
author | wm4 <wm4@nowhere> | 2013-09-16 00:27:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-16 00:46:14 +0200 |
commit | 6da11789ae51652445760369e1d61299fdbb81d8 (patch) | |
tree | a5604d43d406a2ce42178529e8320aeb76644fad /video | |
parent | 4a3ceac2b5cbe784355caac4140e309139cbc242 (diff) | |
download | mpv-6da11789ae51652445760369e1d61299fdbb81d8.tar.bz2 mpv-6da11789ae51652445760369e1d61299fdbb81d8.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 'video')
0 files changed, 0 insertions, 0 deletions