summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_xshm.c8
-rw-r--r--src/video_out/video_out_xv.c7
2 files changed, 4 insertions, 11 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 7190e1600..6984fcf87 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xshm.c,v 1.117 2003/10/23 15:17:07 mroi Exp $
+ * $Id: video_out_xshm.c,v 1.118 2003/10/24 22:34:50 f1rmb Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -134,15 +134,11 @@ static int gX11Fail;
static int HandleXError (Display *display, XErrorEvent *xevent) {
char str [1024];
- XLockDisplay(display);
XGetErrorText (display, xevent->error_code, str, 1024);
- XUnlockDisplay(display);
-
printf ("video_out_xshm: received X error event: %s\n", str);
-
gX11Fail = 1;
- return 0;
+ return 0;
}
/* called xlocked */
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index b9f0b5d1a..fc08b6bae 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xv.c,v 1.178 2003/10/23 15:17:07 mroi Exp $
+ * $Id: video_out_xv.c,v 1.179 2003/10/24 22:34:50 f1rmb Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -219,13 +219,10 @@ static vo_frame_t *xv_alloc_frame (vo_driver_t *this_gen) {
static int HandleXError (Display *display, XErrorEvent *xevent) {
char str [1024];
- XLockDisplay(display),
XGetErrorText (display, xevent->error_code, str, 1024);
- XUnlockDisplay(display);
-
printf ("received X error event: %s\n", str);
-
gX11Fail = 1;
+
return 0;
}