mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Use -noauto{scale,rotate} for disabling auto filters (#10810)
`-auto{scale,rotate} 0` has been dropped in upstream FFmpeg.
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
@@ -1068,7 +1068,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
}
|
||||
|
||||
// hw transpose filters should be added manually.
|
||||
args.Append(" -autorotate 0");
|
||||
args.Append(" -noautorotate");
|
||||
|
||||
return args.ToString().Trim();
|
||||
}
|
||||
@@ -1159,7 +1159,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
var isSwDecoder = string.IsNullOrEmpty(GetHardwareVideoDecoder(state, options));
|
||||
if (!isSwDecoder && _mediaEncoder.EncoderVersion >= new Version(4, 4))
|
||||
{
|
||||
arg.Append(" -autoscale 0");
|
||||
arg.Append(" -noautoscale");
|
||||
}
|
||||
|
||||
return arg.ToString();
|
||||
|
||||
Reference in New Issue
Block a user