1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

stop fixed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1804 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-08-31 17:59:10 +00:00
parent 25c699c572
commit 481e493626

View File

@ -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();