mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-23 06:59:58 -05:00
impl-node: handle ready callback correctly
Only stop processing the ready callback if we are a driver and not currently driving the graph. Streams that use trigger will also emit the ready callback and are not driving the graph (but also are not a driver) and should therefore be allowed to continue to resume_node to schedule the peer nodes. See #3184
This commit is contained in:
parent
a6481c48aa
commit
64235419a6
1 changed files with 1 additions and 1 deletions
|
|
@ -1772,7 +1772,7 @@ again:
|
||||||
|
|
||||||
pw_context_driver_emit_start(node->context, node);
|
pw_context_driver_emit_start(node->context, node);
|
||||||
}
|
}
|
||||||
if (SPA_UNLIKELY(!node->driving))
|
if (SPA_UNLIKELY(node->driver && !node->driving))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (status & SPA_STATUS_HAVE_DATA) {
|
if (status & SPA_STATUS_HAVE_DATA) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue