mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -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
d093402d97
commit
bcb9ff20fd
1 changed files with 1 additions and 0 deletions
|
|
@ -3805,6 +3805,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