not use av1 as auto codec on x86 sciter (#7714)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
71c4d74759
commit
5c4d95ac0f
@ -239,7 +239,8 @@ impl Encoder {
|
||||
|
||||
#[allow(unused_mut)]
|
||||
let mut auto_codec = CodecName::VP9;
|
||||
if av1_useable {
|
||||
// aom is very slow for x86 sciter version on windows x64
|
||||
if av1_useable && !(cfg!(windows) && std::env::consts::ARCH == "x86") {
|
||||
auto_codec = CodecName::AV1;
|
||||
}
|
||||
let mut system = System::new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user