mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
impl-node: process_node now always run on the implementer
process_node is now always called on the process that implements the process function and so we can always fill in the finish_time.
This commit is contained in:
parent
b6b8035b0d
commit
7edcfad7db
1 changed files with 4 additions and 5 deletions
|
|
@ -1179,11 +1179,10 @@ static inline int process_node(void *data)
|
|||
|
||||
nsec = get_time_ns(data_system);
|
||||
|
||||
if (!this->remote) {
|
||||
pw_log_trace_fp("%p: finished", this);
|
||||
a->status = PW_NODE_ACTIVATION_FINISHED;
|
||||
a->finish_time = nsec;
|
||||
}
|
||||
pw_log_trace_fp("%p: finished %"PRIu64, this, nsec);
|
||||
a->status = PW_NODE_ACTIVATION_FINISHED;
|
||||
a->finish_time = nsec;
|
||||
|
||||
if (!this->driving && status != SPA_STATUS_OK)
|
||||
resume_node(this, status, nsec);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue