mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
3.2.30.26
This commit is contained in:
parent
34b72751e0
commit
467f440501
5 changed files with 5 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue