mirror of
https://github.com/sigmasternchen/MyTube
synced 2025-03-15 21:08:55 +00:00
fixed bug (transcoding to higher quality)
This commit is contained in:
parent
0dc6d35c56
commit
084cb6deac
1 changed files with 1 additions and 0 deletions
|
@ -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()));
|
||||||
|
|
Loading…
Reference in a new issue