aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-25 10:21:36 +0200
committerChocobozzz <me@florianbigard.com>2021-05-25 11:35:29 +0200
commitd61fa154af248c8456fb60da21507c767917d804 (patch)
tree06a18024b1b9ea8e41d5bd920471e9855137a94e
parent31a911190b27d93f6324da3d826f96c7fbc5deb6 (diff)
downloadPeerTube-d61fa154af248c8456fb60da21507c767917d804.tar.gz
PeerTube-d61fa154af248c8456fb60da21507c767917d804.tar.zst
PeerTube-d61fa154af248c8456fb60da21507c767917d804.zip
Fix duplicate ffmpeg preset option for live
-rw-r--r--server/helpers/ffmpeg-utils.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index 25d9d4951..e328c49ac 100644
--- a/server/helpers/ffmpeg-utils.ts
+++ b/server/helpers/ffmpeg-utils.ts
@@ -236,7 +236,6 @@ async function getLiveTranscodingCommand (options: {
236 } 236 }
237 ] 237 ]
238 238
239 command.outputOption('-preset superfast')
240 command.outputOption('-sc_threshold 0') 239 command.outputOption('-sc_threshold 0')
241 240
242 addDefaultEncoderGlobalParams({ command }) 241 addDefaultEncoderGlobalParams({ command })