Explicitly request limited range for renderers that require it

This commit is contained in:
Cameron Gutman
2026-08-05 23:25:30 -05:00
parent 2bea406f67
commit a903c5cef2
9 changed files with 35 additions and 0 deletions
@@ -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;