The Free Software Media System - Server Backend & API
round hls framerate
Luke Pulverenti0a7abd58c8cc
diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.csindex 58224e3258..050391e813 100644--- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs@@ -143,6 +143,8 @@ namespace MediaBrowser.Api.Playback.Hlsframerate = 23.976;}+ framerate = Math.Round(framerate);+args += string.Format(" -r {0}", framerate);// Needed to ensure segments stay under 10 seconds