diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index d1c99e2d0c..ee0daf6bd2 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1985,6 +1985,7 @@ static const struct wp_fractional_scale_v1_listener fractional_scale_listener = preferred_scale, }; +#if HAVE_WAYLAND_PROTOCOLS_1_41 static void log_color_space(struct mp_log *log, struct vo_wayland_preferred_description_info *wd) { const struct pl_color_space *csp = &wd->csp; @@ -2007,7 +2008,6 @@ static void log_color_space(struct mp_log *log, struct vo_wayland_preferred_desc csp->hdr.prim.white.x, csp->hdr.prim.white.y); } -#if HAVE_WAYLAND_PROTOCOLS_1_41 static void supported_intent(void *data, struct wp_color_manager_v1 *color_manager, uint32_t render_intent) {