Tune pacer

now compute the time from present to display that passes 99.5% of the
frames, add 1ms.
This commit is contained in:
Patrick Nicolas
2024-11-17 00:11:59 +01:00
parent 148ea1433b
commit c2fca9aa31
3 changed files with 27 additions and 57 deletions
-1
View File
@@ -148,7 +148,6 @@ static void create_encoders(wivrn_comp_target * cn)
std::string name = "encoder " + std::to_string(group);
pthread_setname_np(thread.native_handle(), name.c_str());
}
cn->pacer.set_stream_count(cn->encoders.size());
cn->cnx.send_control(desc);
}