add minrate/maxrate

pull/702/head
Luke Pulverenti 11 years ago
parent bbec002350
commit 4f3b4b47d2

@ -193,7 +193,7 @@ namespace MediaBrowser.Api.Playback.Hls
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

Loading…
Cancel
Save