mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix -fps_mode option being applied on input (#14379)
This commit is contained in:
parent
10d0cec7b9
commit
ebdc756547
@ -7151,7 +7151,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
inputModifier += " -async " + state.InputAudioSync;
|
inputModifier += " -async " + state.InputAudioSync;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(state.InputVideoSync))
|
// The -fps_mode option cannot be applied to input
|
||||||
|
if (!string.IsNullOrEmpty(state.InputVideoSync) && _mediaEncoder.EncoderVersion < new Version(5, 1))
|
||||||
{
|
{
|
||||||
inputModifier += GetVideoSyncOption(state.InputVideoSync, _mediaEncoder.EncoderVersion);
|
inputModifier += GetVideoSyncOption(state.InputVideoSync, _mediaEncoder.EncoderVersion);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user