mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
stream: don't call trigger in dequeue
Dequeue should not ever trigger the start of a cycle.
This commit is contained in:
parent
2d88970dab
commit
11fc529fa0
1 changed files with 0 additions and 1 deletions
|
|
@ -1721,7 +1721,6 @@ struct pw_buffer *pw_stream_dequeue_buffer(struct pw_stream *stream)
|
||||||
if ((b = pop_queue(impl, &impl->dequeued)) == NULL) {
|
if ((b = pop_queue(impl, &impl->dequeued)) == NULL) {
|
||||||
res = -errno;
|
res = -errno;
|
||||||
pw_log_trace(NAME" %p: no more buffers: %m", stream);
|
pw_log_trace(NAME" %p: no more buffers: %m", stream);
|
||||||
call_trigger(impl);
|
|
||||||
errno = -res;
|
errno = -res;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue