mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
change codec cpu usage to 0
This commit is contained in:
@@ -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(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user