# HG changeset patch # User reimar # Date 1233656477 0 # Node ID d4fbeeaa1c76b27de3887db40c785b01268a3a90 # Parent 2e77aca35aafd69cd9e0b4993ae8dac5f42de461 Cosmetics: remove empty line, improve some messages. diff -r 2e77aca35aaf -r d4fbeeaa1c76 libvo/vo_direct3d.c --- a/libvo/vo_direct3d.c Tue Feb 03 10:17:14 2009 +0000 +++ b/libvo/vo_direct3d.c Tue Feb 03 10:21:17 2009 +0000 @@ -860,19 +860,17 @@ RECT rect = {0, 0, vo_dwidth, vo_dheight}; if (FAILED(IDirect3DDevice9_Present(priv->d3d_device, &rect, 0, 0, 0))) { mp_msg(MSGT_VO, MSGL_V, - "Video adapter became uncooperative.\n"); - mp_msg(MSGT_VO, MSGL_ERR, "Trying to reinitialize it...\n"); + "Trying to reinitialize uncooperative video adapter.\n"); if (!reconfigure_d3d()) { - mp_msg(MSGT_VO, MSGL_V, "Reinitialization Failed.\n"); + 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"); + mp_msg(MSGT_VO, MSGL_V, "Reinitialization failed.\n"); return; } else mp_msg(MSGT_VO, MSGL_V, "Video adapter reinitialized.\n"); - } }