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
@@ -153,7 +153,7 @@ public:
return 0;
}
virtual int getDecoderColorspace() {
virtual int getDecoderSdrColorspace() {
// 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 getDecoderColorspace();
return getDecoderSdrColorspace();
}
}