mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
stream: reset counters to 0 when flushing
This commit is contained in:
parent
0d9cc9e36e
commit
0e34c552e9
1 changed files with 2 additions and 2 deletions
|
|
@ -1875,8 +1875,8 @@ do_flush(struct spa_loop *loop,
|
||||||
}
|
}
|
||||||
while (b);
|
while (b);
|
||||||
|
|
||||||
impl->time.queued = impl->queued.outcount = impl->dequeued.incount =
|
impl->queued.outcount = impl->dequeued.incount =
|
||||||
impl->dequeued.outcount = impl->queued.incount;
|
impl->dequeued.outcount = impl->queued.incount = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue