diff options
author | Dudemanguy <random342@airmail.cc> | 2023-06-12 14:43:07 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-06-16 14:46:59 +0000 |
commit | 650c53df502d3e2d603cbe87a6dde249d4d1e178 (patch) | |
tree | 65552a5db057ac064c3770d2234c837c68c8a33e /video/out/vo_dmabuf_wayland.c | |
parent | ca08bf599fce2c73824a74d35f9618dcb2410bbe (diff) | |
download | mpv-650c53df502d3e2d603cbe87a6dde249d4d1e178.tar.bz2 mpv-650c53df502d3e2d603cbe87a6dde249d4d1e178.tar.xz |
vo_dmabuf_wayland: drop linux-dmabuf-v2 (again)
It was done once before but later reverted for testing reasons. This
time it's permanent though since I can test this VO on ARM and with an
up to date system.
Diffstat (limited to 'video/out/vo_dmabuf_wayland.c')
-rw-r--r-- | video/out/vo_dmabuf_wayland.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_dmabuf_wayland.c b/video/out/vo_dmabuf_wayland.c index f57e6f27ba..ee60f4a2da 100644 --- a/video/out/vo_dmabuf_wayland.c +++ b/video/out/vo_dmabuf_wayland.c @@ -475,8 +475,8 @@ static int preinit(struct vo *vo) wl_list_init(&p->buffer_list); - if (!vo->wl->dmabuf) { - MP_FATAL(vo->wl, "Compositor doesn't support the %s protocol!\n", + if (!vo->wl->dmabuf || !vo->wl->dmabuf_feedback) { + MP_FATAL(vo->wl, "Compositor doesn't support the %s (ver. 4) protocol!\n", zwp_linux_dmabuf_v1_interface.name); goto err; } |