[FFmpeg-trac] #1463(FFmpeg:new): ffmpeg.exe on Windows does not respond properly to Ctrl+Break

FFmpeg trac at avcodec.org
Tue Jun 19 09:18:26 CEST 2012


#1463: ffmpeg.exe on Windows does not respond properly to Ctrl+Break
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:
  joewreschnig                       |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  FFmpeg       |                  Version:
             Keywords:               |  unspecified
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 In addition to SIGINT, on Windows it is common to send a different signal,
 SIGBREAK, which has similar effects. This can be triggered by pressing
 Ctrl+Break or by another process sending a signal.

 New process groups on WIn32 usually ignore SIGINT; it is customary to stop
 a process in a separate process group by sending SIGBREAK.

 The attached patch makes ffmpeg.exe respond to SIGBREAK in the same way it
 does SIGINT, using the WIndows console "control event" handler.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1463>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list