mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
Writes to ffmpeg's stdin pipe that race with ffmpeg's exit emit EINVAL or EPIPE as unhandled 'error' events on the Socket, crashing the process. Add a no-op error handler on stdin — the exit handler already captures the failure via the result object. Surfaced during HDR regression renders where the last frame's write coincides with ffmpeg finishing input processing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>