]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix fps transcoding on remote runners
authorChocobozzz <me@florianbigard.com>
Wed, 12 Jul 2023 08:07:21 +0000 (10:07 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 12 Jul 2023 08:07:21 +0000 (10:07 +0200)
server/lib/transcoding/shared/job-builders/transcoding-runner-job-builder.ts

index 4b8bc2f3de92ca46e47678e094e73e759db983e6..ba2a46f44d037d5b6acee1ea7ba08da5a266d23a 100644 (file)
@@ -115,7 +115,7 @@ export class TranscodingRunnerJobBuilder extends AbstractJobBuilder {
 
     for (const resolution of childrenResolutions) {
       const dependsOnRunnerJob = mainJob
-      const fps = computeOutputFPS({ inputFPS, resolution: maxResolution })
+      const fps = computeOutputFPS({ inputFPS, resolution })
 
       if (transcodingType === 'hls') {
         await new VODHLSTranscodingJobHandler().create({