Address Bond-009 review comments

This commit is contained in:
Vasily
2019-10-21 12:04:57 +03:00
parent ae2b95024f
commit 3743137c31
2 changed files with 7 additions and 7 deletions

View File

@@ -2168,8 +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.BaseRequest.StartTimeTicks ?? 0) > 0)
&& !state.EnableBreakOnNonKeyFrames(outputVideoCodec)
&& (state.BaseRequest.StartTimeTicks ?? 0) > 0)
{
inputModifier += " -noaccurate_seek";
}