From 481e493626c526dad2e7dbb815ca9bb1ad44690a Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 31 Aug 2001 17:59:10 +0000 Subject: [PATCH] stop fixed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1804 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mplayer.c b/mplayer.c index c27ede2040..0fd2e19efd 100644 --- a/mplayer.c +++ b/mplayer.c @@ -543,6 +543,7 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ #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 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ 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 @@ play_next_file: #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();