Ticket #1383: mplayer-async-quit.diff
| File mplayer-async-quit.diff, 686 bytes (added by , 18 years ago) |
|---|
-
mplayer.c
old new 2535 2535 2536 2536 //float a_frame=0; // Audio 2537 2537 2538 // Make sure the asynchronous quit request is not set. 2539 async_quit_request = 0; 2540 2538 2541 int i; 2539 2542 2540 2543 int gui_no_filename=0; … … 3178 3181 mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_ErrorWritingFile,stream_dump_name); 3179 3182 exit_player(MSGTR_Exit_error); 3180 3183 } 3184 3185 // Exit with failure in case of an asynchronous quit request (set in signal handler) 3186 if (async_quit_request) { 3187 exit_player(MSGTR_Exit_error); 3188 } 3189 3181 3190 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_CoreDumped); 3182 3191 exit_player_with_rc(MSGTR_Exit_eof, 0); 3183 3192 }
