mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Explicitly request limited range for renderers that require it
This commit is contained in:
1 parent
2bea406f67
commit
a903c5cef2
9 files changed
+35
No files matched your search
@@ -784,6 +784,14 @@ int DXVA2Renderer::getDecoderColorspace()
|
||||
}
|
||||
}
|
||||
|
||||
int DXVA2Renderer::getDecoderColorRange()
|
||||
{
|
||||
// StretchRect() assumes limited range on Intel and Qualcomm GPUs.
|
||||
// VideoProcessBlt() should handle either fine, but let's not take
|
||||
// chances on potentially broken DXVA2 GPU drivers for little gain.
|
||||
return COLOR_RANGE_LIMITED;
|
||||
}
|
||||
|
||||
int DXVA2Renderer::getDecoderCapabilities()
|
||||
{
|
||||
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC |
|
||||
|
||||
Reference in new issue
Block a user