# HG changeset patch # User reimar # Date 1233658467 0 # Node ID 6284666d37946850cccf22627d060de28fdba5a6 # Parent 606c3c97229cf24f4a4188fcffceca481d71bb85 Remove the Present call after adapter reinitialization, it can not work anyway since no video frame is uploaded to the new context yet. diff -r 606c3c97229c -r 6284666d3794 libvo/vo_direct3d.c --- a/libvo/vo_direct3d.c Tue Feb 03 10:39:56 2009 +0000 +++ b/libvo/vo_direct3d.c Tue Feb 03 10:54:27 2009 +0000 @@ -865,10 +865,6 @@ mp_msg(MSGT_VO, MSGL_V, "Reinitialization failed.\n"); return; } - if (FAILED(IDirect3DDevice9_Present(priv->d3d_device, &rect, 0, 0, 0))) { - mp_msg(MSGT_VO, MSGL_V, "Reinitialization failed.\n"); - return; - } else mp_msg(MSGT_VO, MSGL_V, "Video adapter reinitialized.\n"); }