diff options
author | Dudemanguy <random342@airmail.cc> | 2020-08-16 16:29:00 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-08-16 16:29:00 -0500 |
commit | 486516f723d3159c82c75b15a2eefed366542b77 (patch) | |
tree | f483150f77212987b1fa166814dc42e4f8e330ec /video/out/vulkan/context_win.c | |
parent | e9cde72536b60fc1bad304aa02a4638f63de258b (diff) | |
download | mpv-486516f723d3159c82c75b15a2eefed366542b77.tar.bz2 mpv-486516f723d3159c82c75b15a2eefed366542b77.tar.xz |
wayland: don't rely on presentation discarded
When using presentation time, we have to be sure to update the ust when
no presentation events are received to make sure playback is still
smooth and in sync. Part of the recent presentation time refactor was to
use the presentation discarded event to signal that the window is
hidden. Evidently, this doesn't work the same everywhere for whatever
reason (drivers?? hardware??) and at least one user experienced issues
with playback getting out of sync since (presumably) the discarded event
didn't occur when hiding the window. Instead, let's just go back to the
old way of checking if the last_ust is equal to the ust value of the
last member in the wayland sync queue. Fixes #8010.
Diffstat (limited to 'video/out/vulkan/context_win.c')
0 files changed, 0 insertions, 0 deletions