Fix VDPAU scaling on AMD cards. Fixes #171

This commit is contained in:
Cameron Gutman 2019-01-29 20:52:24 -08:00
parent 00f08578ee
commit 8bb6d4d0d9

View file

@ -335,8 +335,8 @@ void VDPAURenderer::renderFrameAtVsync(AVFrame* frame)
0, nullptr, 0, nullptr,
&sourceRect, &sourceRect,
chosenSurface, chosenSurface,
&outputRect,
nullptr, nullptr,
&outputRect,
0, 0,
nullptr); nullptr);
if (status != VDP_STATUS_OK) { if (status != VDP_STATUS_OK) {