Fix VDPAU on X11

This commit is contained in:
Cameron Gutman 2021-12-06 20:42:51 -06:00
commit 54cfc46500

View file

@ -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);