mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Disable direct rendering of YUV444 using vaPutSurface()
It doesn't work as of libva 2.21 + iHD 24.2.5 despite the fact that the VAEntrypointVideoProc advertises VA_RT_FORMAT_YUV444.
This commit is contained in:
parent
d1dffdc34c
commit
b266f61ba6
1 changed files with 5 additions and 0 deletions
|
@ -548,6 +548,11 @@ VAAPIRenderer::isDirectRenderingSupported()
|
|||
"Using indirect rendering for 10-bit video");
|
||||
return false;
|
||||
}
|
||||
else if (m_VideoFormat & VIDEO_FORMAT_MASK_YUV444) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Using indirect rendering for YUV 4:4:4 video");
|
||||
return false;
|
||||
}
|
||||
|
||||
AVHWDeviceContext* deviceContext = (AVHWDeviceContext*)m_HwContext->data;
|
||||
AVVAAPIDeviceContext* vaDeviceContext = (AVVAAPIDeviceContext*)deviceContext->hwctx;
|
||||
|
|
Loading…
Reference in a new issue