]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/utils.ts
Video blacklist refractoring
[github/Chocobozzz/PeerTube.git] / server / helpers / utils.ts
index b74442ab0b1dae708ea96bc3fb2317cce1832fee..3317dddc33de5cfea04bcbc2081004b33e9f55bc 100644 (file)
@@ -61,7 +61,7 @@ function computeResolutionsToTranscode (videoFileHeight: number) {
   ]
 
   for (const resolution of resolutions) {
-    if (configResolutions[resolution.toString()] === true && videoFileHeight >= resolution) {
+    if (configResolutions[resolution.toString()] === true && videoFileHeight > resolution) {
       resolutionsEnabled.push(resolution)
     }
   }