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

Steve Lhomme git at videolan.org
Wed Oct 17 16:07:45 CEST 2018


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

direct3d11: a device removed/reset is an error

(cherry picked from commit a08bf2242fa1ee6f5c6ad01647b1a218fa3cc121)

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

 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 8a2b6eba85..14af66e190 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1009,7 +1009,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