mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-15 00:41:01 +03:00
scrap: log DuplicateOutput1 failures before fallback
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -211,6 +211,10 @@ impl Capturer {
|
|||||||
if hres == S_OK {
|
if hres == S_OK {
|
||||||
return hres;
|
return hres;
|
||||||
}
|
}
|
||||||
|
hbb_common::log::warn!(
|
||||||
|
"HDR DuplicateOutput1 failed: hr={:#x}, fallback=DuplicateOutput",
|
||||||
|
hres as u32
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
(*display.inner.0).DuplicateOutput(device as *mut _, duplication)
|
(*display.inner.0).DuplicateOutput(device as *mut _, duplication)
|
||||||
|
|||||||
Reference in New Issue
Block a user