1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Fix resolution to transcode hook name

This commit is contained in:
Chocobozzz 2022-08-05 13:40:56 +02:00
parent 84cae54e7a
commit 64fd6158fd
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@ async function createTranscoding (req: express.Request, res: express.Response) {
const { resolution: maxResolution, audioStream } = await video.probeMaxQualityFile()
const resolutions = await Hooks.wrapObject(
computeResolutionsToTranscode({ inputResolution: maxResolution, type: 'vod', includeInputResolution: true }),
'filter:transcoding.manual.lower-resolutions-to-transcode.result',
'filter:transcoding.manual.resolutions-to-transcode.result',
body
)