mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-15 18:11:27 +03:00
add enable directx option, android software encoding half resolution option (#8435)
* add option enable directx capture screen, default true Signed-off-by: 21pages <sunboeasy@gmail.com> * option android software encoding half scale, check isStart flag Signed-off-by: 21pages <sunboeasy@gmail.com> --------- Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -354,7 +354,7 @@ impl VRamDecoder {
|
||||
}
|
||||
|
||||
pub fn possible_available_without_check() -> (bool, bool) {
|
||||
if !enable_vram_option() {
|
||||
if !enable_vram_option(false) {
|
||||
return (false, false);
|
||||
}
|
||||
let v = crate::hwcodec::HwCodecConfig::get().vram_decode;
|
||||
|
||||
Reference in New Issue
Block a user