mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 00:36:14 +00:00
update crates, and set new default #cpu
This commit is contained in:
1 parent
98aa410683
commit
a3511d9157
6 files changed
+80
-74
No files matched your search
+1
-1
@@ -638,7 +638,7 @@ pub struct VideoHandler {
|
||||
impl VideoHandler {
|
||||
pub fn new() -> Self {
|
||||
VideoHandler {
|
||||
decoder: Decoder::new(VideoCodecId::VP9, 0).unwrap(),
|
||||
decoder: Decoder::new(VideoCodecId::VP9, (num_cpus::get() / 2) as _).unwrap(),
|
||||
rgb: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user