diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-12-12 15:41:25 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-12-12 15:41:25 -0500 |
| commit | f83c7be7275c6c9db369b8504634f48e0e93b129 (patch) | |
| tree | 09cfedfbdaa6c7a43b6dedf9b9e3bcff84368560 /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | 885565b41e830dea5c155ab7aabb92611a4c7042 (diff) | |
omit query string from segments on roku
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 9 |
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"; } } |
