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:34:43 +0200
commite318e0ebe11ea6299a861f99a5c1357c93b426b3 (patch)
tree38dcc306ae573b6cb6cf2cc0e23d6c5e7738897c
parent008af5c9bb26b6a28db604d10356b4272d9c0432 (diff)
downloadPeerTube-e318e0ebe11ea6299a861f99a5c1357c93b426b3.tar.gz
PeerTube-e318e0ebe11ea6299a861f99a5c1357c93b426b3.tar.zst
PeerTube-e318e0ebe11ea6299a861f99a5c1357c93b426b3.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 })