pulse-server: don't process while the stream is created

When the stream is still being created, avoid doing any processing
because some things might not be configured yet.
This commit is contained in:
Wim Taymans 2021-11-09 16:29:46 +01:00
parent daf761a87f
commit c9fc3d7f42

View file

@ -1189,8 +1189,10 @@ static void stream_process(void *data)
uint32_t size, minreq = 0, index;
struct process_data pd;
pw_log_trace_fp("%p: process", stream);
if (stream->create_tag != SPA_ID_INVALID)
return;
pw_log_trace_fp("%p: process", stream);
buffer = pw_stream_dequeue_buffer(stream->stream);
if (buffer == NULL)
return;