mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
3.2.30.26
This commit is contained in:
@@ -1032,11 +1032,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
{
|
||||
if (sourceBitrate <= 2000000)
|
||||
{
|
||||
sourceBitrate *= 2;
|
||||
sourceBitrate = Convert.ToInt32(sourceBitrate * 2.5);
|
||||
}
|
||||
else if (sourceBitrate <= 3000000)
|
||||
{
|
||||
sourceBitrate = Convert.ToInt32(sourceBitrate * 1.5);
|
||||
sourceBitrate = Convert.ToInt32(sourceBitrate * 2);
|
||||
}
|
||||
|
||||
var bitrate = Math.Min(sourceBitrate, requestedBitrate);
|
||||
|
||||
Reference in New Issue
Block a user