Fix DXVA 2 regression on Windows

This commit is contained in:
Cameron Gutman committed 2018-08-02 22:28:59 -07:00
1 parent 624578f286
commit 0c18bcdd5e
3 files changed
+15 -7

No files matched your search

+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);