fix compile error

This commit is contained in:
rustdesk 2022-07-21 22:29:26 +08:00
parent 515d90644a
commit 9ee2d750f8
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ impl Capturer {
}
}
impl TraitCapturer for Capturer {
impl crate::TraitCapturer for Capturer {
fn set_use_yuv(&mut self, _use_yuv: bool) {}
fn frame<'a>(&'a mut self, _timeout: Duration) -> io::Result<Frame<'a>> {

View File

@ -52,7 +52,7 @@ impl Capturer {
}
}
impl TraitCapturer for Capturer {
impl crate::TraitCapturer for Capturer {
fn set_use_yuv(&mut self, use_yuv: bool) {
self.use_yuv = use_yuv;
}