mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
force to use static link for Manjaro
This commit is contained in:
@@ -73,7 +73,11 @@ fn run(sp: GenericService) -> ResultType<()> {
|
||||
rc_max_quantizer,
|
||||
speed,
|
||||
};
|
||||
let mut vpx = Encoder::new(&cfg, 1).with_context(|| "Failed to create encoder")?;
|
||||
let mut vpx;
|
||||
match Encoder::new(&cfg, 1) {
|
||||
Ok(x) => vpx = x,
|
||||
Err(err) => bail!("Failed to create encoder: {}", err),
|
||||
}
|
||||
|
||||
if *SWITCH.lock().unwrap() {
|
||||
log::debug!("Broadcasting display switch");
|
||||
|
||||
Reference in New Issue
Block a user