mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
resample: don't output 0 buffers
This commit is contained in:
parent
8b2781b494
commit
d2570142fa
1 changed files with 1 additions and 1 deletions
|
|
@ -760,7 +760,7 @@ static int impl_node_process(struct spa_node *node)
|
|||
maxsize = 0;
|
||||
}
|
||||
outport->offset += out_len * sizeof(float);
|
||||
if (outport->offset >= maxsize) {
|
||||
if (outport->offset > 0 && outport->offset >= maxsize) {
|
||||
outio->status = SPA_STATUS_HAVE_BUFFER;
|
||||
outio->buffer_id = dbuf->outbuf->id;
|
||||
dequeue_buffer(this, dbuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue