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

Rec 2020 conversion causes colors to be blown out in SDR

This reverts commit 472e8ee92e.
This commit is contained in:
Cameron Gutman
2022-10-13 01:18:57 -05:00
parent 0928d1fab2
commit e6c4332445
15 changed files with 17 additions and 21 deletions
@@ -153,7 +153,7 @@ public:
return 0;
}
virtual int getDecoderSdrColorspace() {
virtual int getDecoderColorspace() {
// Rec 601 is default
return COLORSPACE_REC_601;
}
@@ -177,7 +177,7 @@ public:
default:
// If the colorspace is not populated, assume the encoder
// is sending the colorspace that we requested.
return getDecoderSdrColorspace();
return getDecoderColorspace();
}
}