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)