Fix incorrect colorspace in MMAL renderer

This commit is contained in:
Cameron Gutman
2022-01-09 17:04:38 -06:00
parent 808933cd70
commit 08175de069
2 changed files with 14 additions and 0 deletions
@@ -17,6 +17,7 @@ public:
virtual enum AVPixelFormat getPreferredPixelFormat(int videoFormat) override;
virtual bool needsTestFrame() override;
virtual int getRendererAttributes() override;
virtual int getDecoderColorspace() override;
private:
static void InputPortCallback(MMAL_PORT_T* port, MMAL_BUFFER_HEADER_T* buffer);