mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
dont use noaccurate_seek for hls
This commit is contained in:
parent
b92e1baa3c
commit
36cdeaa53c
|
@ -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
|
// 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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue