diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-05 13:40:56 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-09 09:18:07 +0200 |
commit | 64fd6158fd276f258bcfc4bb0c8fc2f64a220a11 (patch) | |
tree | 16deccc689788a3832ea3097fae8e4ccb30cabe3 /server/controllers | |
parent | 84cae54e7a2595bea0c3ea106a4d111fd11a4ec6 (diff) | |
download | PeerTube-64fd6158fd276f258bcfc4bb0c8fc2f64a220a11.tar.gz PeerTube-64fd6158fd276f258bcfc4bb0c8fc2f64a220a11.tar.zst PeerTube-64fd6158fd276f258bcfc4bb0c8fc2f64a220a11.zip |
Fix resolution to transcode hook name
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/videos/transcoding.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/videos/transcoding.ts b/server/controllers/api/videos/transcoding.ts index 09ab7dc0f..7d924c5ac 100644 --- a/server/controllers/api/videos/transcoding.ts +++ b/server/controllers/api/videos/transcoding.ts | |||
@@ -33,7 +33,7 @@ async function createTranscoding (req: express.Request, res: express.Response) { | |||
33 | const { resolution: maxResolution, audioStream } = await video.probeMaxQualityFile() | 33 | const { resolution: maxResolution, audioStream } = await video.probeMaxQualityFile() |
34 | const resolutions = await Hooks.wrapObject( | 34 | const resolutions = await Hooks.wrapObject( |
35 | computeResolutionsToTranscode({ inputResolution: maxResolution, type: 'vod', includeInputResolution: true }), | 35 | computeResolutionsToTranscode({ inputResolution: maxResolution, type: 'vod', includeInputResolution: true }), |
36 | 'filter:transcoding.manual.lower-resolutions-to-transcode.result', | 36 | 'filter:transcoding.manual.resolutions-to-transcode.result', |
37 | body | 37 | body |
38 | ) | 38 | ) |
39 | 39 | ||