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

This commit is contained in:
Cameron Gutman committed 2018-08-19 00:59:04 -07:00
1 parent 91c0429e2c
commit 845e84adb7
10 files changed
+56 -11

No files matched your search

@@ -223,6 +223,13 @@ bool VDPAURenderer::prepareDecoderContext(AVCodecContext* context)
return true;
}
bool VDPAURenderer::needsTestFrame()
{
// We need a test frame to see if this VDPAU driver
// supports the profile used for streaming
return true;
}
void VDPAURenderer::renderFrameAtVsync(AVFrame* frame)
{
VdpStatus status;