delete RustDesk_hwcodec.toml on every check

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-04-04 21:21:00 +08:00
parent f2aeff974c
commit be2e26e758
3 changed files with 5 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ impl Encoder {
codec: Box::new(hw),
}),
Err(e) => {
check_config_process(true);
check_config_process();
*CODEC_NAME.lock().unwrap() = CodecName::VP9;
Err(e)
}