summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-04-10 01:45:45 +0200
committerwm4 <wm4@nowhere>2020-04-10 01:45:45 +0200
commit6a13954d67143fb3c4ac8a4a7624c23e3ecb9a3c (patch)
treec70307d5de7cd68dcd19b71ad1a984c6fc84ba54 /TOOLS
parent0c9ac5835be70ae26e4aa875e833fe2c7b3b3bf3 (diff)
downloadmpv-6a13954d67143fb3c4ac8a4a7624c23e3ecb9a3c.tar.bz2
mpv-6a13954d67143fb3c4ac8a4a7624c23e3ecb9a3c.tar.xz
vo: further reduce redundant wakeups
In display-sync mode, the core doesn't need to woken up every vsync, but only every time a new actual video frame needs to be queued. So don't wake up if there are still frames to repeat. In audio-sync mode, the wakeup is simply redundant, since there's a separate timer (in->wakeup_pts) to control when to queue a new frame. I think. This finally brings the required playloop iterations down to almost the number of video frames. (As originally intended, really.) Also a fairly risky change.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions