parent
4e30418f79
commit
51813b7d7e
@ -252,9 +252,6 @@ impl Encoder {
|
|||||||
|
|
||||||
#[allow(unused_mut)]
|
#[allow(unused_mut)]
|
||||||
let mut auto_codec = CodecName::VP9;
|
let mut auto_codec = CodecName::VP9;
|
||||||
if av1_useable {
|
|
||||||
auto_codec = CodecName::AV1;
|
|
||||||
}
|
|
||||||
let mut system = System::new();
|
let mut system = System::new();
|
||||||
system.refresh_memory();
|
system.refresh_memory();
|
||||||
if vp8_useable && system.total_memory() <= 4 * 1024 * 1024 * 1024 {
|
if vp8_useable && system.total_memory() <= 4 * 1024 * 1024 * 1024 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user