[vlc-devel] [PATCH] directdraw: more debug info for overlay issues

Steve Lhomme robux4 at videolabs.io
Thu Mar 10 09:34:37 CET 2016


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

diff --git a/modules/video_output/msw/directdraw.c b/modules/video_output/msw/directdraw.c
index eb73c09..2216ab0 100644
--- a/modules/video_output/msw/directdraw.c
+++ b/modules/video_output/msw/directdraw.c
@@ -1346,7 +1346,7 @@ static int DirectXUpdateOverlay(vout_display_t *vd, LPDIRECTDRAWSURFACE2 surface
     sys->restore_overlay = hr != DD_OK;
 
     if (hr != DD_OK) {
-        msg_Warn(vd, "DirectDrawUpdateOverlay cannot move/resize overlay");
+        msg_Warn(vd, "DirectDrawUpdateOverlay cannot move/resize overlay. (hr=0x%lX)", hr);
         return VLC_EGENERIC;
     }
     return VLC_SUCCESS;
-- 
2.7.2.windows.1



More information about the vlc-devel mailing list