Fix DXVA 2 regression on Windows

This commit is contained in:
Cameron Gutman
2018-08-02 22:28:59 -07:00
parent 624578f286
commit 0c18bcdd5e
3 changed files with 15 additions and 7 deletions
+4 -1
View File
@@ -22,8 +22,11 @@ public:
virtual void renderFrame(SDL_UserEvent* event) override;
virtual void dropFrame(SDL_UserEvent* event) override;
virtual IFFmpegRenderer* getRenderer();
private:
bool completeInitialization(AVCodec* decoder, int videoFormat, int width, int height, bool testOnly);
bool completeInitialization(AVCodec* decoder, int videoFormat,
int width, int height, bool testOnly);
IFFmpegRenderer* createAcceleratedRenderer(const AVCodecHWConfig* hwDecodeCfg);