force to use static link for Manjaro
This commit is contained in:
parent
335ec619d9
commit
547b85adbf
4 changed files with 247 additions and 762 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue