mirror of https://github.com/mpv-player/mpv
ehh, return error if cannot open display
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4828 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
70109de178
commit
d840ddb7c5
|
@ -246,7 +246,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t
|
|||
#ifdef HAVE_NEW_GUI
|
||||
if ( vo_window == None )
|
||||
#endif
|
||||
if( !vo_init() ) return 0; // Can't open X11
|
||||
if( !vo_init() ) return -1; // Can't open X11
|
||||
|
||||
|
||||
if (!title)
|
||||
|
|
Loading…
Reference in New Issue