PKGBUILDs/alarm/vlc-rpi/0008-mmal_exit_fix.patch
graysky eef7b99e58 added alarm/vlc-rpi
Build VLC with HW decoding for RPi models bearing hardware support for it
2022-09-01 21:24:25 -04:00

14 lines
443 B
Diff

--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -106,7 +106,10 @@ static void vlc_kill (void *data)
static void exit_timeout (int signum)
{
(void) signum;
- signal (SIGINT, SIG_DFL);
+// This doesn't seem to be strong enough to reliably kill us if we fail to exit
+// in a timely fashion - so upgrade to _exit().
+// signal (SIGINT, SIG_DFL);
+ _exit(0);
}
/*****************************************************************************