summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2022-11-18 16:36:21 -0600
committerDudemanguy <random342@airmail.cc>2022-11-18 16:36:21 -0600
commitd3a61cfe9844b78362bfce6e5a8280ad6514dbce (patch)
treea66c982c73b84a9a961922a7bab46bcc89365f0d /video/out/wayland_common.c
parentba20f60addaa4ebdd9f6be25464c1b46a7f1f576 (diff)
downloadmpv-d3a61cfe9844b78362bfce6e5a8280ad6514dbce.tar.bz2
mpv-d3a61cfe9844b78362bfce6e5a8280ad6514dbce.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.
Diffstat (limited to 'video/out/wayland_common.c')
-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 6efd099ceb..ebcce69df2 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -756,8 +756,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;
}