# HG changeset patch # User reimar # Date 1152367157 0 # Node ID 337d4324c7665439a1510ffb31b3d7377ac642b2 # Parent 7040a3bc84c953811029eddc57ab1dcd2d82eaa7 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 diff -r 7040a3bc84c9 -r 337d4324c766 mplayer.c --- 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.