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
+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 getDecoderColorspace() override;
virtual int getDecoderSdrColorspace() override;
private:
static void InputPortCallback(MMAL_PORT_T* port, MMAL_BUFFER_HEADER_T* buffer);