summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index f3680dfc67..821a71129b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -433,6 +433,7 @@ static void
sigterm_handler(int sig)
{
received_sigterm = sig;
+ q_pressed++;
term_exit();
}