mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Fix -fps_mode option being applied on input (#14379)
This commit is contained in:
parent
10d0cec7b9
commit
ebdc756547
1 changed files with 2 additions and 1 deletions
|
|
@ -7151,7 +7151,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue