omit query string from segments on roku

This commit is contained in:
Luke Pulverenti
2015-12-12 15:41:25 -05:00
parent 885565b41e
commit f83c7be727
4 changed files with 32 additions and 32 deletions

View File

@@ -2180,14 +2180,9 @@ namespace MediaBrowser.Api.Playback
if (state.VideoRequest != null)
{
var videoCodec = GetVideoEncoder(state);
// See if we can save come cpu cycles by avoiding encoding
if (string.Equals(videoCodec, "copy", StringComparison.OrdinalIgnoreCase))
if (string.Equals(state.OutputContainer, "mkv", StringComparison.OrdinalIgnoreCase))
{
if (string.Equals(state.OutputContainer, "mkv", StringComparison.OrdinalIgnoreCase))
{
inputModifier += " -noaccurate_seek";
}
inputModifier += " -noaccurate_seek";
}
}