mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
impl-node: only let the server send RequestProcess commands
When we emit the RequestProcess event from an exported node, don't send the RequestProcess command to ourselves but let the server decide where to send it to.
This commit is contained in:
parent
4c29ea4f6f
commit
1e7aef5600
1 changed files with 1 additions and 1 deletions
|
|
@ -1894,7 +1894,7 @@ static void node_event(void *data, const struct spa_event *event)
|
|||
break;
|
||||
case SPA_NODE_EVENT_RequestProcess:
|
||||
pw_log_debug("request process");
|
||||
if (!node->driving) {
|
||||
if (!node->driving && !node->exported) {
|
||||
pw_impl_node_send_command(node->driver_node,
|
||||
&SPA_NODE_COMMAND_INIT(SPA_NODE_COMMAND_RequestProcess));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue