|
|
@ -2070,7 +2070,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|
|
|
var outputScaleFactor = GetVideoBitrateScaleFactor(outputVideoCodec);
|
|
|
|
var outputScaleFactor = GetVideoBitrateScaleFactor(outputVideoCodec);
|
|
|
|
|
|
|
|
|
|
|
|
// Don't scale the real bitrate lower than the requested bitrate
|
|
|
|
// 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)
|
|
|
|
if (bitrate <= 500000)
|
|
|
|
{
|
|
|
|
{
|
|
|
|