Explicitly use Rec 601 for VDPAU

This commit is contained in:
Cameron Gutman 2019-12-16 18:02:11 -08:00
commit e1603f0808
2 changed files with 10 additions and 0 deletions

View file

@ -17,6 +17,7 @@ public:
virtual bool prepareDecoderContext(AVCodecContext* context) override;
virtual void renderFrame(AVFrame* frame) override;
virtual bool needsTestFrame() override;
virtual int getDecoderColorspace() override;
private:
uint32_t m_VideoWidth, m_VideoHeight;