diff --git a/app/streaming/video/ffmpeg-renderers/vdpau.cpp b/app/streaming/video/ffmpeg-renderers/vdpau.cpp index 8ffcf1e6..654ff7b7 100644 --- a/app/streaming/video/ffmpeg-renderers/vdpau.cpp +++ b/app/streaming/video/ffmpeg-renderers/vdpau.cpp @@ -107,7 +107,7 @@ bool VDPAURenderer::initialize(PDECODER_PARAMETERS params) "VDPAU is not supported on Wayland"); return false; } - else { + else if (info.subsystem != SDL_SYSWM_X11) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "VDPAU is not supported on the current subsystem: %d", info.subsystem);