Ticket #1463 (open enhancement)
ffmpeg.exe on Windows does not respond properly to Ctrl+Break
|Reported by:||joewreschnig||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
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.
- Keywords win added
- Status changed from new to open
- Version changed from unspecified to git-master