mirror of https://github.com/mpv-player/mpv
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.c | ||
context.h | ||
context_android.c | ||
context_wayland.c | ||
context_win.c | ||
context_xlib.c | ||
utils.c | ||
utils.h |