From 876b028289c88748dd9c3e54d4a83e29a1c9e13b Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 8 Jan 2008 21:40:44 +0000 Subject: Do not use exit_player in the signal handler, this code just can not be called from a signal handler. Instead only make the input system generate quit commands for the first CTRL+C and otherwise do getch2_disable and exit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25651 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input/input.h') diff --git a/input/input.h b/input/input.h index dfbdd4b136..1cfb4b23ed 100644 --- a/input/input.h +++ b/input/input.h @@ -298,4 +298,6 @@ mp_input_uninit(void); int mp_input_check_interrupt(int time); +extern int async_quit_request; + #endif /* INPUT_H */ -- cgit v1.2.3