mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04: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:
parent
29b559089c
commit
aa71129cff
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user