aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-05 16:27:46 +0200
committerChocobozzz <me@florianbigard.com>2020-05-05 16:27:46 +0200
commit1c3206736743646d41a667c03f3e499cc3e3373f (patch)
tree688fe935a0cdf6892b3f5211a950bc440fa2ccb1 /server/lib/job-queue
parent7139845894ae24af397989f85350471cc5b91e2a (diff)
downloadPeerTube-1c3206736743646d41a667c03f3e499cc3e3373f.tar.gz
PeerTube-1c3206736743646d41a667c03f3e499cc3e3373f.tar.zst
PeerTube-1c3206736743646d41a667c03f3e499cc3e3373f.zip
Fix HLS audio only transcoding
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r--server/lib/job-queue/handlers/video-transcoding.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/job-queue/handlers/video-transcoding.ts b/server/lib/job-queue/handlers/video-transcoding.ts
index 46add57d4..04aac515f 100644
--- a/server/lib/job-queue/handlers/video-transcoding.ts
+++ b/server/lib/job-queue/handlers/video-transcoding.ts
@@ -92,6 +92,7 @@ async function onVideoFileOptimizerSuccess (videoArg: MVideoWithFile, payload: O
92 92
93 let videoPublished = false 93 let videoPublished = false
94 94
95 // Generate HLS version of the max quality file
95 const hlsPayload = Object.assign({}, payload, { resolution: videoDatabase.getMaxQualityFile().resolution }) 96 const hlsPayload = Object.assign({}, payload, { resolution: videoDatabase.getMaxQualityFile().resolution })
96 await createHlsJobIfEnabled(hlsPayload) 97 await createHlsJobIfEnabled(hlsPayload)
97 98