From 7fe12574fa16d4de3c505fc38b6c229ab786dc51 Mon Sep 17 00:00:00 2001 From: llyyr Date: Fri, 18 Oct 2024 16:30:01 +0530 Subject: [PATCH] wayland: don't use functions not available in libplacebo338 Fixes #15120 --- video/out/wayland_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index b588d123ad..fbb1b90e2d 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -2426,10 +2426,10 @@ static int set_colorspace(struct vo_wayland_state *wl) int xx_transfer = wl->transfer_map[color.transfer]; if (xx_primaries == -1) - MP_VERBOSE(wl, "Compositor does not support color primary: %s\n", pl_color_primaries_name(color.primaries)); + MP_VERBOSE(wl, "Compositor does not support color primary: %s\n", m_opt_choice_str(pl_csp_prim_names, color.primaries)); if (xx_transfer == -1) - MP_VERBOSE(wl, "Compositor does not support transfer function: %s\n", pl_color_transfer_name(color.transfer)); + MP_VERBOSE(wl, "Compositor does not support transfer function: %s\n", m_opt_choice_str(pl_csp_trc_names, color.transfer)); if (xx_primaries == -1 || xx_transfer == -1) { wl->unsupported_colorspace = true;