mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
The -autoscale option was added in FFmpeg 4.4 (#8813)
This commit is contained in:
parent
fea01a1ccb
commit
da5913aa30
@ -977,7 +977,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
|
|
||||||
// Disable auto inserted SW scaler for HW decoders in case of changed resolution.
|
// Disable auto inserted SW scaler for HW decoders in case of changed resolution.
|
||||||
var isSwDecoder = string.IsNullOrEmpty(GetHardwareVideoDecoder(state, options));
|
var isSwDecoder = string.IsNullOrEmpty(GetHardwareVideoDecoder(state, options));
|
||||||
if (!isSwDecoder)
|
if (!isSwDecoder && _mediaEncoder.EncoderVersion >= new Version(4, 4))
|
||||||
{
|
{
|
||||||
arg.Append(" -autoscale 0");
|
arg.Append(" -autoscale 0");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user