diff options
| author | Vasily <just.one.man@yandex.ru> | 2019-10-14 13:12:10 +0300 |
|---|---|---|
| committer | Vasily <just.one.man@yandex.ru> | 2019-10-14 13:22:53 +0300 |
| commit | 1bd12083c3d7eda02bd7e3b785f4853620dc6cc9 (patch) | |
| tree | 0c4e81fd5a0681d883bf100bef22af34b640d7a2 /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | |
| parent | 82f8345aa5ae65a8a934a4f2d29afdbc3836d875 (diff) | |
Respect non-inversed setting of "enable break on non-keyframes"
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 991fc0b00..0aa067904 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -2168,7 +2168,8 @@ namespace MediaBrowser.Controller.MediaEncoding // Important: If this is ever re-enabled, make sure not to use it with wtv because it breaks seeking if (!string.Equals(state.InputContainer, "wtv", StringComparison.OrdinalIgnoreCase) && state.TranscodingType != TranscodingJobType.Progressive - && state.EnableBreakOnNonKeyFrames(outputVideoCodec)) + && !state.EnableBreakOnNonKeyFrames(outputVideoCodec) && + (state.BaseRequest.StartTimeTicks ?? 0) > 0) { inputModifier += " -noaccurate_seek"; } |
