comparison libvo/vo_x11.c @ 4827:8570abfc6feb

ehh, return error if cannot open display
author alex
date Sat, 23 Feb 2002 23:14:29 +0000
parents 178b524e5213
children c91a96b35522
comparison
equal deleted inserted replaced
4826:a0e8eac85aca 4827:8570abfc6feb
244 #endif 244 #endif
245 245
246 #ifdef HAVE_NEW_GUI 246 #ifdef HAVE_NEW_GUI
247 if ( vo_window == None ) 247 if ( vo_window == None )
248 #endif 248 #endif
249 if( !vo_init() ) return 0; // Can't open X11 249 if( !vo_init() ) return -1; // Can't open X11
250 250
251 251
252 if (!title) 252 if (!title)
253 title = strdup("MPlayer X11 (XImage/Shm) render"); 253 title = strdup("MPlayer X11 (XImage/Shm) render");
254 254