# HG changeset patch # User arpi # Date 999280750 0 # Node ID 8e0b52f2c21546cdd980081cf902ede5cdb5c0e6 # Parent 82e77faa73417c9847dec85fdfddd5ed6168f1d9 stop fixed diff -r 82e77faa7341 -r 8e0b52f2c215 mplayer.c --- a/mplayer.c Fri Aug 31 14:16:28 2001 +0000 +++ b/mplayer.c Fri Aug 31 17:59:10 2001 +0000 @@ -543,6 +543,7 @@ #ifdef HAVE_NEW_GUI if(use_gui){ appInit( argc,argv,envp,(void*)mDisplay ); + mplShMem->Playing= (gui_no_filename) ? 0 : 1; } #endif @@ -570,7 +571,6 @@ signal(SIGFPE,exit_sighandler); // floating point exc. signal(SIGABRT,exit_sighandler); // abort() - // ******************* Now, let's see the per-file stuff ******************** curr_filename=0; @@ -580,7 +580,7 @@ #ifdef HAVE_NEW_GUI if ( use_gui ) { if(filename) strcpy( mplShMem->Filename,filename ); - mplShMem->Playing= (gui_no_filename) ? 0 : 1; +// mplShMem->Playing= (gui_no_filename) ? 0 : 1; while(mplShMem->Playing!=1){ usleep(20000); EventHandling();