round hls framerate

This commit is contained in:
Luke Pulverenti 2013-03-23 00:37:22 -04:00
parent dcdc0bda28
commit 0a7abd58c8

View File

@ -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