Просмотр исходного кода

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

Cody Robibero 3 лет назад
Родитель
Сommit
3c0c7572ef
1 измененных файлов с 1 добавлено и 0 удалено
  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
                     if (!string.Equals(state.InputContainer, "wtv", StringComparison.OrdinalIgnoreCase)
                         && state.TranscodingType != TranscodingJobType.Progressive
+                        && state.TranscodingType != TranscodingJobType.Hls
                         && !state.EnableBreakOnNonKeyFrames(outputVideoCodec)
                         && (state.BaseRequest.StartTimeTicks ?? 0) > 0)
                     {