mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Clean up deprecated -vsync option (#12765)
This commit is contained in:
@@ -945,7 +945,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
vidEncoder,
|
||||
encoderQualityOption + encoderQuality + " ",
|
||||
vidEncoder.Contains("videotoolbox", StringComparison.InvariantCultureIgnoreCase) ? "-allow_sw 1 " : string.Empty, // allow_sw fallback for some intel macs
|
||||
EncoderVersion >= new Version(5, 1) ? "-fps_mode passthrough " : "-vsync passthrough ", // passthrough timestamp
|
||||
EncodingHelper.GetVideoSyncOption("0", EncoderVersion).Trim() + " ", // passthrough timestamp
|
||||
"image2",
|
||||
outputPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user