The Free Software Media System - Server Backend & API
The -autoscale option was added in FFmpeg 4.4 (#8813)
Bond-009da5913aa30d5
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.csindex 74abb91b28..aa57f0480b 100644--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs@@ -977,7 +977,7 @@ namespace MediaBrowser.Controller.MediaEncoding// Disable auto inserted SW scaler for HW decoders in case of changed resolution.var isSwDecoder = string.IsNullOrEmpty(GetHardwareVideoDecoder(state, options));- if (!isSwDecoder)+ if (!isSwDecoder && _mediaEncoder.EncoderVersion >= new Version(4, 4)){arg.Append(" -autoscale 0");}