mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 18:29:10 +08:00
fix compile error
This commit is contained in:
parent
515d90644a
commit
9ee2d750f8
@ -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 set_use_yuv(&mut self, _use_yuv: bool) {}
|
||||||
|
|
||||||
fn frame<'a>(&'a mut self, _timeout: Duration) -> io::Result<Frame<'a>> {
|
fn frame<'a>(&'a mut self, _timeout: Duration) -> io::Result<Frame<'a>> {
|
||||||
|
@ -52,7 +52,7 @@ impl Capturer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl TraitCapturer for Capturer {
|
impl crate::TraitCapturer for Capturer {
|
||||||
fn set_use_yuv(&mut self, use_yuv: bool) {
|
fn set_use_yuv(&mut self, use_yuv: bool) {
|
||||||
self.use_yuv = use_yuv;
|
self.use_yuv = use_yuv;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user