mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
stream: fix EARLY_PROCESS again
It got removed with the async improvements. We shouñd simply ask more buffers whenever we push one to be dequeued. See #3480
This commit is contained in:
parent
e1fc3de595
commit
ae465ccbfc
1 changed files with 2 additions and 0 deletions
|
|
@ -1068,6 +1068,8 @@ again:
|
||||||
if ((b = get_buffer(stream, io->buffer_id)) != NULL) {
|
if ((b = get_buffer(stream, io->buffer_id)) != NULL) {
|
||||||
pw_log_trace_fp("%p: recycle buffer %d", stream, b->id);
|
pw_log_trace_fp("%p: recycle buffer %d", stream, b->id);
|
||||||
queue_push(impl, &impl->dequeued, b);
|
queue_push(impl, &impl->dequeued, b);
|
||||||
|
if (impl->early_process)
|
||||||
|
ask_more = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pop new buffer */
|
/* pop new buffer */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue