[vlc-commits] commit: XCB/XVideo: include XVideo error code in grab error debug message ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Jul 24 10:50:23 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 24 11:49:37 2010 +0300| [04b436b8b54cf0b08c510a0e28c0d77b0a880e3f] | committer: Rémi Denis-Courmont 

XCB/XVideo: include XVideo error code in grab error debug message

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

 modules/video_output/xcb/xvideo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index da09276..ec80779 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 */
 



More information about the vlc-commits mailing list