mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +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:
1 parent
d1dffdc34c
commit
b266f61ba6
1 file changed
+5
@@ -548,6 +548,11 @@ VAAPIRenderer::isDirectRenderingSupported()
|
|||||||
"Using indirect rendering for 10-bit video");
|
"Using indirect rendering for 10-bit video");
|
||||||
return false;
|
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;
|
AVHWDeviceContext* deviceContext = (AVHWDeviceContext*)m_HwContext->data;
|
||||||
AVVAAPIDeviceContext* vaDeviceContext = (AVVAAPIDeviceContext*)deviceContext->hwctx;
|
AVVAAPIDeviceContext* vaDeviceContext = (AVVAAPIDeviceContext*)deviceContext->hwctx;
|
||||||
|
|||||||
Reference in new issue
Block a user