Skip to content

Commit

Permalink
fix wrong feature to call update_supported_encoding (rustdesk#8067)
Browse files Browse the repository at this point in the history
Signed-off-by: 21pages <[email protected]>
  • Loading branch information
21pages authored May 16, 2024
1 parent 68fa688 commit 3a4390e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ impl Connection {
}
}
conn.file_remove_log_control.on_timer().drain(..).map(|x| conn.send_to_cm(x)).count();
#[cfg(feature = "vram")]
#[cfg(feature = "hwcodec")]
conn.update_supported_encoding();
}
_ = test_delay_timer.tick() => {
Expand Down

0 comments on commit 3a4390e

Please sign in to comment.