summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-25 17:40:18 +0100
committerwm4 <wm4@nowhere>2016-03-25 17:40:44 +0100
commit5fe2812494f7743f4d662b1f7983d4afa898243f (patch)
treed6be49bb68a3b188b320b189703bc9128d6911dd /wscript_build.py
parentdafafc90dea5caebebb169a7a7cddac8377651f5 (diff)
downloadmpv-5fe2812494f7743f4d662b1f7983d4afa898243f.tar.bz2
mpv-5fe2812494f7743f4d662b1f7983d4afa898243f.tar.xz
sub: force segment switch if video is already ahead
In particular, this prevents subtitle packets from building up in the subtitle queue if e.g. --vo=null is used. In this situation, sub_get_bitmaps() is never called, and thus the segment never switched. This also seems to help with flickering at segment switch boundaries (if subs are supposed to be visible at the transition points). In theory, this could trigger a switch too early, but the way VO and subtitle renderer interact wrt. timing is a bit iffy anyway.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions