mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-21 03:55:05 +00:00
fix
This commit is contained in:
parent
01af228dd5
commit
03d916418b
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ run_buffering(void *data) {
|
|||
bool timed_out = false;
|
||||
while (!vb->b.stopped && !timed_out) {
|
||||
sc_tick deadline = sc_clock_to_system_ts(&vb->b.clock, pts)
|
||||
+ vb->buffering_ms / 2;
|
||||
+ vb->buffering_ms;
|
||||
if (deadline > now + vb->buffering_ms) {
|
||||
deadline = now + vb->buffering_ms;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue