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:
Wim Taymans 2025-06-24 18:12:42 +02:00
parent 86d1233107
commit 0fa5ceba1c

View file

@ -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,