Browse Source

Merge pull request #7338 from mueslimak3r/hls-remove-seek-param

Cody Robibero 3 years ago
parent
commit
3c0c7572ef
1 changed files with 1 additions and 0 deletions
  1. 1 0
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 1 - 0
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -2170,6 +2170,7 @@ namespace MediaBrowser.Controller.MediaEncoding
                     // Important: If this is ever re-enabled, make sure not to use it with wtv because it breaks seeking
                     // 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)
                     if (!string.Equals(state.InputContainer, "wtv", StringComparison.OrdinalIgnoreCase)
                         && state.TranscodingType != TranscodingJobType.Progressive
                         && state.TranscodingType != TranscodingJobType.Progressive
+                        && state.TranscodingType != TranscodingJobType.Hls
                         && !state.EnableBreakOnNonKeyFrames(outputVideoCodec)
                         && !state.EnableBreakOnNonKeyFrames(outputVideoCodec)
                         && (state.BaseRequest.StartTimeTicks ?? 0) > 0)
                         && (state.BaseRequest.StartTimeTicks ?? 0) > 0)
                     {
                     {