rpicam-apps
rpicam-apps copied to clipboard
libcamera-vid: Add SIGINT handler
Add a SIGINT handler to trap Ctrl+C to cleanly shut down the application. This is needed for mkv and mp4 conainers that need to be finalised correctly by libav.