diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-03-23 00:37:22 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-03-23 00:37:22 -0400 |
| commit | 0a7abd58c8ccb15e3c743dd05a5df27f7c4a0189 (patch) | |
| tree | def12e2744afeb841fbda7adbf6c96f7971c87c6 | |
| parent | dcdc0bda28fbf40703c873f73c84789fb92c6113 (diff) | |
round hls framerate
| -rw-r--r-- | MediaBrowser.Api/Playback/Hls/VideoHlsService.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs index 58224e325..050391e81 100644 --- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs +++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs @@ -143,6 +143,8 @@ namespace MediaBrowser.Api.Playback.Hls framerate = 23.976; } + framerate = Math.Round(framerate); + args += string.Format(" -r {0}", framerate); // Needed to ensure segments stay under 10 seconds |
