1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-12 09:59:44 +00:00

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
This commit is contained in:
reimar 2006-07-08 13:59:17 +00:00
parent f9f9b2c0dd
commit eed96ed0e7

View File

@ -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.