[vlc-commits] direct3d11: a device removed/reset is an error

Steve Lhomme git at videolan.org
Wed Sep 26 14:17:44 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Sep 26 14:17:33 2018 +0200| [a08bf2242fa1ee6f5c6ad01647b1a218fa3cc121] | committer: Steve Lhomme

direct3d11: a device removed/reset is an error

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a08bf2242fa1ee6f5c6ad01647b1a218fa3cc121
---

 modules/video_output/win32/direct3d11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index ae8f4449a9..772754107f 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -960,7 +960,7 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
     if (hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET)
     {
         /* TODO device lost */
-        msg_Dbg(vd, "SwapChain Present failed. (hr=0x%lX)", hr);
+        msg_Err(vd, "SwapChain Present failed. (hr=0x%lX)", hr);
     }
     d3d11_device_unlock( &sys->d3d_dev );
 



More information about the vlc-commits mailing list