diff options
| author | wuhei <wuhei@users.noreply.github.com> | 2026-11-19 12:43:33 +0100 |
|---|---|---|
| committer | wuhei <wuhei@users.noreply.github.com> | 2026-11-19 12:43:33 +0100 |
| commit | d991dca38bd8676c2fc0fe4bc4356d62ccc8e1b1 (patch) | |
| tree | 374e2f16936d3e7ddf1157c7cadec6f4059fea8f /main_test.go | |
| parent | a5b77eb48974cfae45bac65ceb4880752444eb47 (diff) | |
| download | lilchinese-d991dca38bd8676c2fc0fe4bc4356d62ccc8e1b1.tar.gz | |
recorder: run ffmpeg and the audio source in their own process group
A terminal Ctrl+C signals the whole foreground process group, so ffmpeg got a
second SIGINT while it was writing the mp4 trailer and truncated the file
('moov atom not found'). Setpgid keeps our single SIGINT the only one.
Diffstat (limited to 'main_test.go')
0 files changed, 0 insertions, 0 deletions
