From 90b7f38f0e14245a349455919d6b9b3a65d8b12c Mon Sep 17 00:00:00 2001 From: namedkitten Date: Sat, 11 Apr 2020 16:07:34 +0100 Subject: [PATCH] temp remove wayland --- src/Backends/MPV/MPVBackend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Backends/MPV/MPVBackend.cpp b/src/Backends/MPV/MPVBackend.cpp index babfc81..14fb288 100644 --- a/src/Backends/MPV/MPVBackend.cpp +++ b/src/Backends/MPV/MPVBackend.cpp @@ -82,11 +82,11 @@ public: if (QGuiApplication::platformName().contains("xcb")) { params[2].type = MPV_RENDER_PARAM_X11_DISPLAY; params[2].data = QX11Info::display(); - } else if (QGuiApplication::platformName().contains("wayland")) { + } /* else if (QGuiApplication::platformName().contains("wayland")) { params[2].type = MPV_RENDER_PARAM_WL_DISPLAY; auto *native = QGuiApplication::platformNativeInterface(); params[2].data = native->nativeResourceForWindow("display", NULL); - } + } */ #endif if (mpv_render_context_create(&obj->mpv_gl, obj->mpv, params) < 0)