rustdesk
2022-07-10 23:26:44 +08:00
parent afb9707eba
commit 1a9b25588d
2 changed files with 9 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ impl Capturer {
self.inner.height()
}
pub fn frame<'a>(&'a mut self, _timeout_ms: u32) -> io::Result<Frame<'a>> {
pub fn frame<'a>(&'a mut self, _timeout_ms: std::time::Duration) -> io::Result<Frame<'a>> {
match self.frame.try_lock() {
Ok(mut handle) => {
let mut frame = None;