diff options
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index d01e6f80e..6f7c186d9 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -620,7 +620,9 @@ async function runCommand (command: ffmpeg.FfmpegCommand, onEnd?: Function) { | |||
620 | rej(err) | 620 | rej(err) |
621 | }) | 621 | }) |
622 | 622 | ||
623 | command.on('end', () => { | 623 | command.on('end', (stdout, stderr) => { |
624 | logger.debug('FFmpeg command ended.', { stdout, stderr }) | ||
625 | |||
624 | if (onEnd) onEnd() | 626 | if (onEnd) onEnd() |
625 | 627 | ||
626 | res() | 628 | res() |