From 4ba1d2cbe76fae92122b883244ee1599f4463dd1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 22 Nov 2024 12:18:26 +0100 Subject: [PATCH] stream: fix EARLY_PROCESS again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It got removed with the async improvements. We shouñd simply ask more buffers whenever we push one to be dequeued. See #3480 --- src/pipewire/stream.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pipewire/stream.c b/src/pipewire/stream.c index 874aa3dc8..a4f33ebc4 100644 --- a/src/pipewire/stream.c +++ b/src/pipewire/stream.c @@ -1057,6 +1057,8 @@ again: if ((b = get_buffer(stream, io->buffer_id)) != NULL) { pw_log_trace_fp("%p: recycle buffer %d", stream, b->id); queue_push(impl, &impl->dequeued, b); + if (impl->early_process) + ask_more = true; } /* pop new buffer */