Explorar o código

dont use noaccurate_seek for hls

cameron %!s(int64=3) %!d(string=hai) anos
pai
achega
36cdeaa53c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

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

@@ -2167,6 +2167,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)
                     {