Skip to content
Snippets Groups Projects
Commit f808bdd6 authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf
Browse files

interop_dxva2: fix flickering effect

parent 3e838637
No related branches found
No related tags found
1 merge request!3440interop_dxva2: fix flickering effect
Pipeline #325352 passed with stages
in 42 minutes and 17 seconds
......@@ -133,6 +133,13 @@ GLConvUpdate(const struct vlc_gl_interop *interop, uint32_t textures[],
(const char*)&dstDesc.Format, dstDesc.Format, hr);
return VLC_EGENERIC;
}
hr = IDirect3DDevice9Ex_PresentEx(d3d9_decoder->d3ddev.devex, NULL, NULL, NULL, NULL, D3DPRESENT_INTERVAL_IMMEDIATE);
if (FAILED(hr))
{
msg_Warn(interop->gl, "IDirect3DDevice9_Present failed. (0x%lX)", hr);
return VLC_EGENERIC;
}
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment