]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Don't run ffmpeg twice for lives
authorChocobozzz <me@florianbigard.com>
Fri, 19 May 2023 07:40:30 +0000 (09:40 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 19 May 2023 07:40:30 +0000 (09:40 +0200)
server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts

index 5bad348606026ab386042dfa648c988cde880c4f..c6ee8ebf1cb057033c093ff1155a75ccef63f89a 100644 (file)
@@ -45,8 +45,6 @@ export class FFmpegTranscodingWrapper extends AbstractTranscodingWrapper {
 
     logger.info('Running local live muxing/transcoding for %s.', this.videoUUID, this.lTags())
 
-    this.ffmpegCommand.run()
-
     let ffmpegShellCommand: string
     this.ffmpegCommand.on('start', cmdline => {
       ffmpegShellCommand = cmdline