Allow FFmpeg renderers to enforce V-sync being enabled or disabled

This commit is contained in:
Cameron Gutman committed 2018-09-03 20:57:09 -04:00
1 parent fa93364ddd
commit 2c068a99a3
10 files changed
+51

No files matched your search

@@ -624,6 +624,11 @@ int DXVA2Renderer::getDecoderCapabilities()
return 0;
}
IFFmpegRenderer::VSyncConstraint DXVA2Renderer::getVsyncConstraint()
{
return VSYNC_ANY;
}
void DXVA2Renderer::renderFrameAtVsync(AVFrame *frame)
{
IDirect3DSurface9* surface = reinterpret_cast<IDirect3DSurface9*>(frame->data[3]);