mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 06:39:39 +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;
|
bool timed_out = false;
|
||||||
while (!vb->b.stopped && !timed_out) {
|
while (!vb->b.stopped && !timed_out) {
|
||||||
sc_tick deadline = sc_clock_to_system_ts(&vb->b.clock, pts)
|
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) {
|
if (deadline > now + vb->buffering_ms) {
|
||||||
deadline = now + vb->buffering_ms;
|
deadline = now + vb->buffering_ms;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue