mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 14:41:27 +03:00
add zero copy mode hareware codec for windows (#6778)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -188,6 +188,11 @@ fn check_get_displays_changed_msg() -> Option<Message> {
|
||||
get_displays_msg()
|
||||
}
|
||||
|
||||
pub fn check_displays_changed() -> ResultType<()> {
|
||||
check_update_displays(&try_get_displays()?);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn get_displays_msg() -> Option<Message> {
|
||||
let displays = SYNC_DISPLAYS.lock().unwrap().get_update_sync_displays()?;
|
||||
Some(displays_to_msg(displays))
|
||||
|
||||
Reference in New Issue
Block a user