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
+1 -1
View File
@@ -17,7 +17,7 @@ public:
virtual enum AVPixelFormat getPreferredPixelFormat(int videoFormat) override;
virtual bool needsTestFrame() override;
virtual int getRendererAttributes() override;
virtual int getDecoderSdrColorspace() override;
virtual int getDecoderColorspace() override;
private:
static void InputPortCallback(MMAL_PORT_T* port, MMAL_BUFFER_HEADER_T* buffer);