diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-29 23:49:10 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-29 23:49:10 -0400 |
| commit | 4f3b4b47d25632b140a0f0b874974cac09d1a0a0 (patch) | |
| tree | 75af7df566f8dbec624a324dd112689795560ddb /MediaBrowser.Api/Playback/Hls/VideoHlsService.cs | |
| parent | bbec002350b7b2e0693f683326c691620cbafd7f (diff) | |
add minrate/maxrate
Diffstat (limited to 'MediaBrowser.Api/Playback/Hls/VideoHlsService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/Hls/VideoHlsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs index b6937c366..0c7af3c66 100644 --- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs +++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs @@ -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 |
