diff options
author | wm4 <wm4@nowhere> | 2015-11-27 21:50:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-27 21:50:59 +0100 |
commit | 9afd62bfcd4ddf2a8339b3ac3c95d607be610ce4 (patch) | |
tree | 549f270e53ff4e55974fa4595e9ef86818a7b0b2 /video/out/cocoa | |
parent | eec844a06e13f582fdfd3b73cbd37899991d9029 (diff) | |
download | mpv-9afd62bfcd4ddf2a8339b3ac3c95d607be610ce4.tar.bz2 mpv-9afd62bfcd4ddf2a8339b3ac3c95d607be610ce4.tar.xz |
vo: fix audio-timing framedrop regressions
Commit 12eb8b2d accidentally disabled framedropping in the audio timing
case. It tried to replace the last_flip field with the prev_vsync one,
which didn't work because prev_sync is reset to 0 if the timing code is
used. Fix it by always setting it properly. This field must (or should)
be reinitialized to something sensible when switching to display sync
timing mode; since prev_vsync is not reset anymore, the check when to
reinitialize this field has to be adjusted as well.
It's a bit weird that update_vsync_timing_after_swap() now does some
minor work for timing mode too, but I guess it's ok, if only to avoid
additional fields and timer calls.
Diffstat (limited to 'video/out/cocoa')
0 files changed, 0 insertions, 0 deletions