Fix DXVA2 rendering with the wrong colorspace on AMD GPUs

This commit is contained in:
Cameron Gutman 2019-12-15 13:29:19 -08:00
commit d4c2350d63
2 changed files with 15 additions and 0 deletions

View file

@ -20,6 +20,7 @@ public:
virtual bool prepareDecoderContext(AVCodecContext* context) override;
virtual void renderFrame(AVFrame* frame) override;
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
virtual int getDecoderColorspace() override;
private:
bool initializeDecoder();