[MPlayer-cvslog] r33550 - trunk/libvo/x11_common.c
ib
subversion at mplayerhq.hu
Fri Jun 3 16:26:56 CEST 2011
Author: ib
Date: Fri Jun 3 16:26:56 2011
New Revision: 33550
Log:
Remove commented and disabled code.
XDisplayName() does look in the environment for DISPLAY,
if mDisplayName isn't given.
Modified:
trunk/libvo/x11_common.c
Modified: trunk/libvo/x11_common.c
==============================================================================
--- trunk/libvo/x11_common.c Fri Jun 3 16:25:43 2011 (r33549)
+++ trunk/libvo/x11_common.c Fri Jun 3 16:26:56 2011 (r33550)
@@ -408,8 +408,6 @@ int vo_init(void)
int depth, bpp;
unsigned int mask;
-// char * DisplayName = ":0.0";
-// Display * mDisplay;
XImage *mXImage = NULL;
// Window mRootWin;
@@ -427,13 +425,7 @@ int vo_init(void)
XSetErrorHandler(x11_errorhandler);
-#if 0
- if (!mDisplayName)
- if (!(mDisplayName = getenv("DISPLAY")))
- mDisplayName = strdup(":0.0");
-#else
dispName = XDisplayName(mDisplayName);
-#endif
mp_msg(MSGT_VO, MSGL_V, "X11 opening display: %s\n", dispName);
More information about the MPlayer-cvslog
mailing list