Use Rec 2020 colorspace for WCG support even if HDR is off on the host

This commit is contained in:
Cameron Gutman
2022-10-13 00:14:10 -05:00
parent c55af7fff3
commit 472e8ee92e
15 changed files with 21 additions and 17 deletions

View File

@@ -210,7 +210,7 @@ bool MmalRenderer::initialize(PDECODER_PARAMETERS params)
return true;
}
int MmalRenderer::getDecoderColorspace()
int MmalRenderer::getDecoderSdrColorspace()
{
// MMAL seems to always use Rec. 709 colorspace for rendering
// even when we try to set something else in the input format.