summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-16 00:27:53 +0200
committerwm4 <wm4@nowhere>2013-09-16 00:46:14 +0200
commit6da11789ae51652445760369e1d61299fdbb81d8 (patch)
treea5604d43d406a2ce42178529e8320aeb76644fad /video/out/x11_common.c
parent4a3ceac2b5cbe784355caac4140e309139cbc242 (diff)
downloadmpv-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/out/x11_common.c')
0 files changed, 0 insertions, 0 deletions