aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-19 09:40:30 +0200
committerChocobozzz <me@florianbigard.com>2023-05-19 09:40:30 +0200
commita5cf9c98678962640cde7ed595aa59e993677abf (patch)
treefdf8413854a3aee39392568b281fa416b5721eab /server
parentfe7019b2323768f7e33890303f95c9a45688ac1d (diff)
downloadPeerTube-a5cf9c98678962640cde7ed595aa59e993677abf.tar.gz
PeerTube-a5cf9c98678962640cde7ed595aa59e993677abf.tar.zst
PeerTube-a5cf9c98678962640cde7ed595aa59e993677abf.zip
Don't run ffmpeg twice for lives
Diffstat (limited to 'server')
-rw-r--r--server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
index 5bad34860..c6ee8ebf1 100644
--- a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
+++ b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
@@ -45,8 +45,6 @@ export class FFmpegTranscodingWrapper extends AbstractTranscodingWrapper {
45 45
46 logger.info('Running local live muxing/transcoding for %s.', this.videoUUID, this.lTags()) 46 logger.info('Running local live muxing/transcoding for %s.', this.videoUUID, this.lTags())
47 47
48 this.ffmpegCommand.run()
49
50 let ffmpegShellCommand: string 48 let ffmpegShellCommand: string
51 this.ffmpegCommand.on('start', cmdline => { 49 this.ffmpegCommand.on('start', cmdline => {
52 ffmpegShellCommand = cmdline 50 ffmpegShellCommand = cmdline