mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: mark output as not empty when draining
When we are draining, we use an empty input buffer but then we push out the remaining samples out of filters and we can't assume they are empty.
This commit is contained in:
parent
86d1233107
commit
0fa5ceba1c
1 changed files with 1 additions and 0 deletions
|
|
@ -3597,6 +3597,7 @@ static int impl_node_process(void *object)
|
|||
if (io->status & SPA_STATUS_DRAINED) {
|
||||
spa_log_debug(this->log, "%p: port %d drained", this, port->id);
|
||||
in_avail = flush_in = draining = true;
|
||||
in_empty = false;
|
||||
} else {
|
||||
spa_log_trace_fp(this->log, "%p: empty input port %d %p %d %d %d",
|
||||
this, port->id, io, io->status, io->buffer_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue