mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-08-27 12:41:18 +00:00
Explicitly request limited range for renderers that require it
This commit is contained in:
@@ -648,6 +648,12 @@ int VAAPIRenderer::getDecoderColorspace()
|
||||
return COLORSPACE_REC_601;
|
||||
}
|
||||
|
||||
int VAAPIRenderer::getDecoderColorRange()
|
||||
{
|
||||
// vaPutSurface() assumes limited range
|
||||
return COLOR_RANGE_LIMITED;
|
||||
}
|
||||
|
||||
int VAAPIRenderer::getDecoderCapabilities()
|
||||
{
|
||||
int caps = 0;
|
||||
|
||||
Reference in New Issue
Block a user