diff mplayer.c @ 18945:337d4324c766

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
author reimar
date Sat, 08 Jul 2006 13:59:17 +0000
parents cde5b56f1610
children 6ffd0c1f708e
line wrap: on
line diff
--- a/mplayer.c	Sat Jul 08 13:47:43 2006 +0000
+++ b/mplayer.c	Sat Jul 08 13:59:17 2006 +0000
@@ -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.