[vlc-commits] directdraw: more debug info for overlay issues
Steve Lhomme
git at videolan.org
Thu Mar 10 11:28:07 CET 2016
vlc/vlc-2.2 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Mar 10 09:34:37 2016 +0100| [ef164a6bea527a5500743d48f776c535d2deb6c0] | committer: Jean-Baptiste Kempf
directdraw: more debug info for overlay issues
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 42d180b0dc6ec59f1b4eb7953e039ef28f54b6fd)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=ef164a6bea527a5500743d48f776c535d2deb6c0
---
modules/video_output/msw/directx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index 22770fd..5b2522f 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -1336,7 +1336,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