Commit 9ee2d750 authored by rustdesk's avatar rustdesk

fix compile error

parent 515d9064
...@@ -34,7 +34,7 @@ impl Capturer { ...@@ -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 { ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment