]> git.sesse.net Git - vlc/commitdiff
XCB/XVideo: include XVideo error code in grab error debug message
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 24 Jul 2010 08:49:37 +0000 (11:49 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 24 Jul 2010 08:50:20 +0000 (11:50 +0300)
modules/video_output/xcb/xvideo.c

index da09276b405c5b3696ae5fd2260f41be26d40690..ec807795f06bf440390407cda8350e7a6d6b92fd 100644 (file)
@@ -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 */