diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-08 13:59:17 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-08 13:59:17 +0000 |
commit | eed96ed0e77635e64d93403b107c2c64aecdd6c5 (patch) | |
tree | 16bbd705c7e875d0fc25ab4d86285b4dda73dcb1 | |
parent | f9f9b2c0dd8df10cc79b333d643b6e62e67d3137 (diff) | |
download | mpv-eed96ed0e77635e64d93403b107c2c64aecdd6c5.tar.bz2 mpv-eed96ed0e77635e64d93403b107c2c64aecdd6c5.tar.xz |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18950 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2694,10 +2694,12 @@ int gui_no_filename=0; 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. |