change codec cpu usage to 0

This commit is contained in:
rustdesk committed 2021-12-24 12:40:47 +08:00
1 parent 885d8a4586
commit 8d90c5a93b
2 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -582,7 +582,7 @@ pub struct VideoHandler {
impl VideoHandler {
pub fn new() -> Self {
VideoHandler {
decoder: Decoder::new(VideoCodecId::VP9, 1).unwrap(),
decoder: Decoder::new(VideoCodecId::VP9, 0).unwrap(),
rgb: Default::default(),
}
}