mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-06-29 02:13:36 +02:00
Merge pull request #9738 from olanwe/fix-scalefactor
This commit is contained in:
commit
9e416409f2
|
@ -2148,7 +2148,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
var outputScaleFactor = GetVideoBitrateScaleFactor(outputVideoCodec);
|
||||
|
||||
// Don't scale the real bitrate lower than the requested bitrate
|
||||
var scaleFactor = Math.Min(outputScaleFactor / inputScaleFactor, 1);
|
||||
var scaleFactor = Math.Max(outputScaleFactor / inputScaleFactor, 1);
|
||||
|
||||
if (bitrate <= 500000)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue