allow deny capture / emulation

This commit is contained in:
Ferdinand Schober
2024-07-12 12:46:57 +02:00
parent fa57b4ea34
commit d84c572a4e
6 changed files with 54 additions and 44 deletions

View File

@@ -162,6 +162,7 @@ pub async fn create(
log::info!("using capture backend: {backend}");
return Ok(b);
}
Err(e) if e.cancelled_by_user() => return Err(e),
Err(e) => log::warn!("{backend} input capture backend unavailable: {e}"),
}
}