mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-01 12:44:25 -04:00
add comment explaining GetMinBitrate
This commit is contained in:
parent
012e4a3e63
commit
65fa61a636
@ -1116,6 +1116,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
|
|
||||||
private int GetMinBitrate(int sourceBitrate, int requestedBitrate)
|
private int GetMinBitrate(int sourceBitrate, int requestedBitrate)
|
||||||
{
|
{
|
||||||
|
// these values were chosen from testing to improve low bitrate streams
|
||||||
if (sourceBitrate <= 2000000)
|
if (sourceBitrate <= 2000000)
|
||||||
{
|
{
|
||||||
sourceBitrate = Convert.ToInt32(sourceBitrate * 2.5);
|
sourceBitrate = Convert.ToInt32(sourceBitrate * 2.5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user