ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix transcoding job with resolution
Chocobozzz8aad7ae413e5
diff --git a/scripts/create-transcoding-job.ts b/scripts/create-transcoding-job.tsindex 30846cd15d..fe3bd26de7 100755--- a/scripts/create-transcoding-job.ts+++ b/scripts/create-transcoding-job.ts@@ -55,7 +55,7 @@ async function run () {// Generate HLS filesif (options.generateHls || CONFIG.TRANSCODING.WEBTORRENT.ENABLED === false) {const resolutionsEnabled = options.resolution- ? [ options.resolution ]+ ? [ parseInt(options.resolution) ]: computeResolutionsToTranscode(resolution, 'vod').concat([ resolution ])for (const resolution of resolutionsEnabled) {@@ -75,7 +75,7 @@ async function run () {type: 'new-resolution-to-webtorrent',videoUUID: video.uuid,isNewVideo: false,- resolution: options.resolution+ resolution: parseInt(options.resolution)})} else {if (video.VideoFiles.length === 0) {