aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-12-12 15:41:25 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-12-12 15:41:25 -0500
commitf83c7be7275c6c9db369b8504634f48e0e93b129 (patch)
tree09cfedfbdaa6c7a43b6dedf9b9e3bcff84368560 /MediaBrowser.Api/Playback/BaseStreamingService.cs
parent885565b41e830dea5c155ab7aabb92611a4c7042 (diff)
omit query string from segments on roku
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 64862da60..fa230473b 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -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";
}
}