Fix scaleFactor limitation to 1 introduced by pull request #9485

This commit is contained in:
Oliver Weyhmüller 2023-05-07 21:20:44 +02:00 committed by Bill Thornton
parent ce8eddd484
commit 3269ce56ca
1 changed files with 1 additions and 1 deletions

View File

@ -2070,7 +2070,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)
{