From cd8ef8a8f609e99d0225a27ceb84afa8cfe5d962 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 3 Feb 2009 10:54:27 +0000 Subject: [PATCH] Remove the Present call after adapter reinitialization, it can not work anyway since no video frame is uploaded to the new context yet. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28456 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_direct3d.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c index abeba43ada..2f4847ee10 100644 --- a/libvo/vo_direct3d.c +++ b/libvo/vo_direct3d.c @@ -865,10 +865,6 @@ static void flip_page(void) 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"); }