summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-11-18 16:36:21 -0600
committersfan5 <sfan5@live.de>2023-01-24 15:56:56 +0100
commitf593186e7da949bf9951dcdb9cadf08b1cd3416a (patch)
tree7793f850571b5f01038912a5cc5c3d8acb6f7da0
parent5149805f6b1aa4c8cdc7a544902b4a5ef21fe453 (diff)
downloadmpv-f593186e7da949bf9951dcdb9cadf08b1cd3416a.tar.bz2
mpv-f593186e7da949bf9951dcdb9cadf08b1cd3416a.tar.xz
wayland: also log refresh rate on surface entrance
Never bothered to log this for some reason, but it's pretty convenient when debugging.
-rw-r--r--video/out/wayland_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 18d9bba450..5978a3a6d2 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -752,8 +752,8 @@ static void surface_handle_enter(void *data, struct wl_surface *wl_surface,
if (!mp_rect_equals(&old_geometry, &wl->geometry) || force_resize)
wl->pending_vo_events |= VO_EVENT_RESIZE;
- MP_VERBOSE(wl, "Surface entered output %s %s (0x%x), scale = %i\n", o->make,
- o->model, o->id, wl->scaling);
+ MP_VERBOSE(wl, "Surface entered output %s %s (0x%x), scale = %i, refresh rate = %f Hz\n",
+ o->make, o->model, o->id, wl->scaling, o->refresh_rate);
wl->pending_vo_events |= VO_EVENT_WIN_STATE;
}