changeset 1803:8e0b52f2c215

stop fixed
author arpi
date Fri, 31 Aug 2001 17:59:10 +0000
parents 82e77faa7341
children 76b4f7bcd087
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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();