Skip to content

Commit

Permalink
fix last commit (rustdesk#9939)
Browse files Browse the repository at this point in the history
Signed-off-by: 21pages <[email protected]>
  • Loading branch information
21pages authored Nov 17, 2024
1 parent 304e0e4 commit 9ee77a9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/flutter_ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,6 @@ pub mod server_side {
}
}
std::thread::spawn(move || start_server(true));
scrap::codec::test_av1();
}

#[no_mangle]
Expand Down
1 change: 1 addition & 0 deletions src/rendezvous_mediator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ impl RendezvousMediator {
if crate::is_server() {
crate::platform::linux_desktop_manager::start_xdesktop();
}
scrap::codec::test_av1();
loop {
let conn_start_time = Instant::now();
*SOLVING_PK_MISMATCH.lock().await = "".to_owned();
Expand Down
1 change: 0 additions & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ pub async fn start_server(is_server: bool, no_server: bool) {
crate::platform::try_kill_broker();
#[cfg(feature = "hwcodec")]
scrap::hwcodec::start_check_process();
scrap::codec::test_av1();
crate::RendezvousMediator::start_all().await;
} else {
match crate::ipc::connect(1000, "").await {
Expand Down

0 comments on commit 9ee77a9

Please sign in to comment.