Avoid the test frame for DXVA2 and VT APIs to address flickering in full-screen on Win7

This commit is contained in:
Cameron Gutman
2018-08-19 00:59:04 -07:00
parent 91c0429e2c
commit 845e84adb7
10 changed files with 56 additions and 11 deletions

View File

@@ -30,6 +30,12 @@ bool SdlRenderer::prepareDecoderContext(AVCodecContext*)
return true;
}
bool SdlRenderer::needsTestFrame()
{
// This renderer should always work
return false;
}
bool SdlRenderer::initialize(SDL_Window* window,
int,
int width,