mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
add minrate/maxrate
This commit is contained in:
parent
bbec002350
commit
4f3b4b47d2
@ -193,7 +193,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||||||
|
|
||||||
if (bitrate.HasValue)
|
if (bitrate.HasValue)
|
||||||
{
|
{
|
||||||
args += string.Format(" -b:v {0}", bitrate.Value.ToString(UsCulture));
|
args += string.Format(" -b:v {0} -maxrate {0} -minrate {0} -bufsize ({0}/3)*2", bitrate.Value.ToString(UsCulture));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add resolution params, if specified
|
// Add resolution params, if specified
|
||||||
|
Loading…
Reference in New Issue
Block a user