mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
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:
parent
daf761a87f
commit
c9fc3d7f42
|
@ -1189,8 +1189,10 @@ static void stream_process(void *data)
|
||||||
uint32_t size, minreq = 0, index;
|
uint32_t size, minreq = 0, index;
|
||||||
struct process_data pd;
|
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);
|
buffer = pw_stream_dequeue_buffer(stream->stream);
|
||||||
if (buffer == NULL)
|
if (buffer == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue