mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Reject YUV444 rendering using D3D11VA until it properly supported
This commit is contained in:
parent
e2ffeae3f6
commit
778eb07c5f
@ -289,6 +289,11 @@ bool D3D11VARenderer::initialize(PDECODER_PARAMETERS params)
|
|||||||
"D3D11VA renderer is only supported on Windows 10 or later.");
|
"D3D11VA renderer is only supported on Windows 10 or later.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else if (params->videoFormat & VIDEO_FORMAT_MASK_YUV444) {
|
||||||
|
SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
|
"D3D11VA renderer does not support YUV444 (TODO!)");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (!SDL_DXGIGetOutputInfo(SDL_GetWindowDisplayIndex(params->window),
|
if (!SDL_DXGIGetOutputInfo(SDL_GetWindowDisplayIndex(params->window),
|
||||||
&adapterIndex, &outputIndex)) {
|
&adapterIndex, &outputIndex)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user