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:
Wim Taymans 2023-05-03 10:42:28 +02:00
parent b6b8035b0d
commit 7edcfad7db

View file

@ -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);
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);