[MPlayer-cvslog] r28456 - trunk/libvo/vo_direct3d.c
reimar
subversion at mplayerhq.hu
Tue Feb 3 11:54:27 CET 2009
Author: reimar
Date: Tue Feb 3 11:54:27 2009
New Revision: 28456
Log:
Remove the Present call after adapter reinitialization, it can not work anyway
since no video frame is uploaded to the new context yet.
Modified:
trunk/libvo/vo_direct3d.c
Modified: trunk/libvo/vo_direct3d.c
==============================================================================
--- trunk/libvo/vo_direct3d.c Tue Feb 3 11:39:56 2009 (r28455)
+++ trunk/libvo/vo_direct3d.c Tue Feb 3 11:54:27 2009 (r28456)
@@ -865,10 +865,6 @@ static void flip_page(void)
mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Reinitialization failed.\n");
return;
}
- if (FAILED(IDirect3DDevice9_Present(priv->d3d_device, &rect, 0, 0, 0))) {
- mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Reinitialization failed.\n");
- return;
- }
else
mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Video adapter reinitialized.\n");
}
More information about the MPlayer-cvslog
mailing list