aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-05 13:40:56 +0200
committerChocobozzz <me@florianbigard.com>2022-08-09 09:18:07 +0200
commit64fd6158fd276f258bcfc4bb0c8fc2f64a220a11 (patch)
tree16deccc689788a3832ea3097fae8e4ccb30cabe3 /server/lib
parent84cae54e7a2595bea0c3ea106a4d111fd11a4ec6 (diff)
downloadPeerTube-64fd6158fd276f258bcfc4bb0c8fc2f64a220a11.tar.gz
PeerTube-64fd6158fd276f258bcfc4bb0c8fc2f64a220a11.tar.zst
PeerTube-64fd6158fd276f258bcfc4bb0c8fc2f64a220a11.zip
Fix resolution to transcode hook name
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/job-queue/handlers/video-transcoding.ts2
-rw-r--r--server/lib/live/live-manager.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/job-queue/handlers/video-transcoding.ts b/server/lib/job-queue/handlers/video-transcoding.ts
index b07876a1c..890d34e3b 100644
--- a/server/lib/job-queue/handlers/video-transcoding.ts
+++ b/server/lib/job-queue/handlers/video-transcoding.ts
@@ -266,7 +266,7 @@ async function createLowerResolutionsJobs (options: {
266 // Create transcoding jobs if there are enabled resolutions 266 // Create transcoding jobs if there are enabled resolutions
267 const resolutionsEnabled = await Hooks.wrapObject( 267 const resolutionsEnabled = await Hooks.wrapObject(
268 computeResolutionsToTranscode({ inputResolution: videoFileResolution, type: 'vod', includeInputResolution: false }), 268 computeResolutionsToTranscode({ inputResolution: videoFileResolution, type: 'vod', includeInputResolution: false }),
269 'filter:transcoding.auto.lower-resolutions-to-transcode.result', 269 'filter:transcoding.auto.resolutions-to-transcode.result',
270 options 270 options
271 ) 271 )
272 272
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts
index 1d1ecd935..3ac57fa44 100644
--- a/server/lib/live/live-manager.ts
+++ b/server/lib/live/live-manager.ts
@@ -245,7 +245,7 @@ class LiveManager {
245 245
246 const allResolutions = await Hooks.wrapObject( 246 const allResolutions = await Hooks.wrapObject(
247 this.buildAllResolutionsToTranscode(resolution), 247 this.buildAllResolutionsToTranscode(resolution),
248 'filter:transcoding.auto.lower-resolutions-to-transcode.result', 248 'filter:transcoding.auto.resolutions-to-transcode.result',
249 { video } 249 { video }
250 ) 250 )
251 251