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

Steve Lhomme git at videolan.org
Thu Mar 10 10:24:06 CET 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Mar 10 09:34:37 2016 +0100| [42d180b0dc6ec59f1b4eb7953e039ef28f54b6fd] | committer: Jean-Baptiste Kempf

directdraw: more debug info for overlay issues

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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;



More information about the vlc-commits mailing list