mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
9dead2b932
There's 2 stupid things here that need to be fixed. First of all, vulkan wasn't actually using presentation time because somehow the get_vsync function in context.c disappeared. Secondly, if the mpv window was hidden it was updating the ust time based on the refresh_usec but really it should simply just not feed any information to the vsync info structure. So this adds some logic to assume whether or not a window is hidden. |
||
---|---|---|
.. | ||
common.h | ||
context_android.c | ||
context_wayland.c | ||
context_win.c | ||
context_xlib.c | ||
context.c | ||
context.h | ||
utils.c | ||
utils.h |