]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/transcoding/shared/job-builders/transcoding-runner-job-builder.ts
Fix fps transcoding on remote runners
[github/Chocobozzz/PeerTube.git] / 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({