mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-12 12:41:30 +03:00
fix compile error
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user