mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
impl-node: call process_node directly
Don't go through the signal_func when we need to complete the graph or when we need to process the node, do directly to process_node. The signal_func is really only for nodes activating peers.
This commit is contained in:
parent
adb7559359
commit
b1a80a8f46
1 changed files with 2 additions and 2 deletions
|
|
@ -1196,7 +1196,7 @@ static void node_on_fd_events(struct spa_source *source)
|
|||
this->name, this->info.id, cmd - 1);
|
||||
|
||||
pw_log_trace_fp("%p: got process", this);
|
||||
this->rt.target.signal_func(this->rt.target.data);
|
||||
process_node(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1679,7 +1679,7 @@ static int node_ready(void *data, int status)
|
|||
state->pending, state->required);
|
||||
dump_states(node);
|
||||
}
|
||||
node->rt.target.signal_func(node->rt.target.data);
|
||||
process_node(node);
|
||||
} else {
|
||||
/* calculate CPU time */
|
||||
uint64_t new_signal = a->signal_time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue