diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-12 10:07:21 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-12 10:07:21 +0200 |
commit | d98909f69070c81e87da723e414d91c6a2a6f343 (patch) | |
tree | 1aeeb21b4e091626066594d03a379e4b16870201 /server/lib/transcoding/shared | |
parent | ae22c59f14d0d553f60b281948b6c232c2aca178 (diff) | |
download | PeerTube-d98909f69070c81e87da723e414d91c6a2a6f343.tar.gz PeerTube-d98909f69070c81e87da723e414d91c6a2a6f343.tar.zst PeerTube-d98909f69070c81e87da723e414d91c6a2a6f343.zip |
Fix fps transcoding on remote runners
Diffstat (limited to 'server/lib/transcoding/shared')
-rw-r--r-- | server/lib/transcoding/shared/job-builders/transcoding-runner-job-builder.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/transcoding/shared/job-builders/transcoding-runner-job-builder.ts b/server/lib/transcoding/shared/job-builders/transcoding-runner-job-builder.ts index 4b8bc2f3d..ba2a46f44 100644 --- a/server/lib/transcoding/shared/job-builders/transcoding-runner-job-builder.ts +++ b/server/lib/transcoding/shared/job-builders/transcoding-runner-job-builder.ts | |||
@@ -115,7 +115,7 @@ export class TranscodingRunnerJobBuilder extends AbstractJobBuilder { | |||
115 | 115 | ||
116 | for (const resolution of childrenResolutions) { | 116 | for (const resolution of childrenResolutions) { |
117 | const dependsOnRunnerJob = mainJob | 117 | const dependsOnRunnerJob = mainJob |
118 | const fps = computeOutputFPS({ inputFPS, resolution: maxResolution }) | 118 | const fps = computeOutputFPS({ inputFPS, resolution }) |
119 | 119 | ||
120 | if (transcodingType === 'hls') { | 120 | if (transcodingType === 'hls') { |
121 | await new VODHLSTranscodingJobHandler().create({ | 121 | await new VODHLSTranscodingJobHandler().create({ |