aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-06 14:33:31 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commit9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8 (patch)
tree62717add69330345db3d7432e7218bb24d54a702 /server/helpers
parent3cabf3532b9118a19311f14ca3e171d12d554a2f (diff)
downloadPeerTube-9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8.tar.gz
PeerTube-9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8.tar.zst
PeerTube-9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8.zip
Don't add live videos in redundancy
Diffstat (limited to 'server/helpers')
-rw-r--r--server/helpers/ffmpeg-utils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index b6f4097aa..69564a1a3 100644
--- a/server/helpers/ffmpeg-utils.ts
+++ b/server/helpers/ffmpeg-utils.ts
@@ -271,6 +271,8 @@ type TranscodeOptions =
271 | QuickTranscodeOptions 271 | QuickTranscodeOptions
272 272
273function transcode (options: TranscodeOptions) { 273function transcode (options: TranscodeOptions) {
274 logger.debug('Will run transcode.', { options })
275
274 return new Promise<void>(async (res, rej) => { 276 return new Promise<void>(async (res, rej) => {
275 try { 277 try {
276 let command = getFFmpeg(options.inputPath) 278 let command = getFFmpeg(options.inputPath)