From 0e570d15ae15f3d38b4e122c639f80c6e5b9266d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 8 Jun 2021 23:18:37 +0200 Subject: [PATCH] Amend 3a7ea6b, do not kill child after 10 sec w/o output This fixes video-timeline issues (harvid has no output), as well as ALSA device reservation and xjadeo (when idle). --- libs/pbd/system_exec.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index 02c52c5f3b..f2b3b6ea90 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -844,7 +844,7 @@ SystemExec::output_interposer () pfd.fd = rfd; pfd.events = POLLIN|POLLERR|POLLHUP; - int rv = poll (&pfd, 1, 10000); + int rv = poll (&pfd, 1, -1); if (rv == -1) { break;