X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fcreate-transcoding-job.ts;h=78eb455aa1eb39bec2852f68d31deb647acbb62c;hb=c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e;hp=7ee0050e39e5837857203612fb9259cbf77eadf7;hpb=110d463fece85e87a26aca48a6048ae0017a27b3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/create-transcoding-job.ts b/scripts/create-transcoding-job.ts index 7ee0050e3..78eb455aa 100755 --- a/scripts/create-transcoding-job.ts +++ b/scripts/create-transcoding-job.ts @@ -43,7 +43,7 @@ async function run () { if (program.generateHls) { const resolutionsEnabled = program.resolution ? [ program.resolution ] - : computeResolutionsToTranscode(videoFileResolution).concat([ videoFileResolution ]) + : computeResolutionsToTranscode(videoFileResolution, 'vod').concat([ videoFileResolution ]) for (const resolution of resolutionsEnabled) { dataInput.push({