[vlc-devel] commit: Warn about buggy X11 connections ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jun 26 18:03:12 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Jun 26 19:00:37 2008 +0300| [7e0ac127a7558b801dacd8a6afb1dcb0f30a61b5]

Warn about buggy X11 connections

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

 modules/video_output/x11/xcommon.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index a0d0b0e..1bc947d 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -2989,7 +2989,14 @@ static int X11ErrorHandler( Display * display, XErrorEvent * event )
 
 #ifdef HAVE_SYS_SHM_H
     if( event->request_code == i_shm_major ) /* MIT-SHM */
+    {
+        fprintf( stderr,
+                 "[????????] x11 video output notice:"
+                 " buggy X11 server claims shared memory\n"
+                 "[????????] x11 video output notice:"
+                 " support though it does not work (OpenSSH?)\n" );
         return i_shm_major = 0;
+    }
 #endif
 
 #ifndef HAVE_OSSO




More information about the vlc-devel mailing list