Fix VDPAU on X11
This commit is contained in:
parent
c09559ade5
commit
54cfc46500
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ bool VDPAURenderer::initialize(PDECODER_PARAMETERS params)
|
||||||
"VDPAU is not supported on Wayland");
|
"VDPAU is not supported on Wayland");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else {
|
else if (info.subsystem != SDL_SYSWM_X11) {
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"VDPAU is not supported on the current subsystem: %d",
|
"VDPAU is not supported on the current subsystem: %d",
|
||||||
info.subsystem);
|
info.subsystem);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue