Fix DXVA2 rendering with the wrong colorspace on AMD GPUs

This commit is contained in:
Cameron Gutman committed 2019-12-15 13:29:19 -08:00
1 parent 5e5470ae12
commit d4c2350d63
2 files changed
+15

No files matched your search

@@ -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();