From 04b436b8b54cf0b08c510a0e28c0d77b0a880e3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 24 Jul 2010 11:49:37 +0300 Subject: [PATCH] XCB/XVideo: include XVideo error code in grab error debug message --- modules/video_output/xcb/xvideo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c index da09276b40..ec807795f0 100644 --- a/modules/video_output/xcb/xvideo.c +++ b/modules/video_output/xcb/xvideo.c @@ -431,7 +431,8 @@ static int Open (vlc_object_t *obj) p_sys->port = port; goto grabbed_port; } - msg_Dbg (vd, "cannot grab port %"PRIu32, port); + msg_Dbg (vd, "cannot grab port %"PRIu32": Xv error %"PRIu8, port, + result); } continue; /* No usable port */ -- 2.39.2