change codec cpu usage to 0

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

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(),
}
}