mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-27 00:55:26 +00:00
Fix -fps_mode option being applied on input (#14379)
This commit is contained in:
1 parent
10d0cec7b9
commit
ebdc756547
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user