stream: reset counters to 0 when flushing

This commit is contained in:
Wim Taymans 2020-11-16 15:19:27 +01:00
parent 0d9cc9e36e
commit 0e34c552e9

View file

@ -1875,8 +1875,8 @@ do_flush(struct spa_loop *loop,
}
while (b);
impl->time.queued = impl->queued.outcount = impl->dequeued.incount =
impl->dequeued.outcount = impl->queued.incount;
impl->queued.outcount = impl->dequeued.incount =
impl->dequeued.outcount = impl->queued.incount = 0;
return 0;
}