update next/previous buttons

This commit is contained in:
Luke Pulverenti
2014-01-24 13:09:50 -05:00
parent e92688fbec
commit 3cc608d781
15 changed files with 83 additions and 45 deletions

View File

@@ -317,12 +317,16 @@ namespace MediaBrowser.Api.Playback.Hls
}
}
if (state.VideoRequest.Framerate.HasValue)
var framerate = GetFramerateParam(state);
if (framerate.HasValue)
{
args += string.Format(" -r {0}", state.VideoRequest.Framerate.Value);
args += string.Format(" -r {0}", framerate.Value.ToString(UsCulture));
}
args += " -vsync vfr";
if (!string.IsNullOrEmpty(state.VideoSync))
{
args += " -vsync " + state.VideoSync;
}
if (!string.IsNullOrEmpty(state.VideoRequest.Profile))
{