mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 21:54:26 -04:00
Respect non-inversed setting of "enable break on non-keyframes"
This commit is contained in:
parent
82f8345aa5
commit
1bd12083c3
@ -2168,7 +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
|
// 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.EnableBreakOnNonKeyFrames(outputVideoCodec))
|
&& !state.EnableBreakOnNonKeyFrames(outputVideoCodec) &&
|
||||||
|
(state.BaseRequest.StartTimeTicks ?? 0) > 0)
|
||||||
{
|
{
|
||||||
inputModifier += " -noaccurate_seek";
|
inputModifier += " -noaccurate_seek";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user