mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
add minrate/maxrate
This commit is contained in:
parent
bbec002350
commit
4f3b4b47d2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue