disable av1 for all 32 bit platforms (#7921)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
0af370d736
commit
4e30418f79
1 changed files with 2 additions and 1 deletions
|
|
@ -918,5 +918,6 @@ pub fn codec_thread_num(limit: usize) -> usize {
|
|||
|
||||
fn disable_av1() -> bool {
|
||||
// aom is very slow for x86 sciter version on windows x64
|
||||
cfg!(windows) && std::env::consts::ARCH == "x86"
|
||||
// disable it for all 32 bit platforms
|
||||
std::mem::size_of::<usize>() == 4
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue