fixed bug (transcoding to higher quality)

This commit is contained in:
overflowerror 2021-01-12 15:39:42 +01:00
parent 0dc6d35c56
commit 084cb6deac

View file

@ -99,6 +99,7 @@ class TranscodingService
foreach (self::QUALITY as $quality) { foreach (self::QUALITY as $quality) {
if ($quality["height"] > $height) { if ($quality["height"] > $height) {
$total--; $total--;
continue;
} }
$ffvideo = $this->ffmpeg->open($this->rawPath($video->getId())); $ffvideo = $this->ffmpeg->open($this->rawPath($video->getId()));