[MPlayer-cvslog] r18950 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sat Jul 8 15:59:18 CEST 2006


Author: reimar
Date: Sat Jul  8 15:59:17 2006
New Revision: 18950

Modified:
   trunk/mplayer.c

Log:
No point in checking for X for windows gui, in addition the hackish
way via vo_init breaks vo_gl and vo_gl2 WinID support


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sat Jul  8 15:59:17 2006
@@ -2694,10 +2694,12 @@
       use_gui=0;
     }
 #else
+#ifndef WIN32
     if(use_gui && !vo_init()){
       mp_msg(MSGT_CPLAYER,MSGL_WARN,MSGTR_GuiNeedsX);
       use_gui=0;
     }
+#endif
     if (use_gui && playtree_iter){
       char cwd[PATH_MAX+2];
       // Free Playtree and Playtree-Iter as it's not used by the GUI.



More information about the MPlayer-cvslog mailing list