[FFmpeg-cvslog] Make multiple Ctrl-C capable to kill stuck protocols.

Michael Niedermayer git at videolan.org
Fri Mar 25 02:54:00 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 25 02:26:49 2011 +0100| [6dfb4ab8c8e8069ecf6b9c3d056f43df57a1c643] | committer: Michael Niedermayer

Make multiple Ctrl-C capable to kill stuck protocols.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6dfb4ab8c8e8069ecf6b9c3d056f43df57a1c643
---

 ffmpeg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index f3680df..821a711 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -433,6 +433,7 @@ static void
 sigterm_handler(int sig)
 {
     received_sigterm = sig;
+    q_pressed++;
     term_exit();
 }
 




More information about the ffmpeg-cvslog mailing list