mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-05 04:06:37 -05:00
do_node_unprepare runs in both the server and the client when a node is stopped. On the server size, set the status to FINISHED and trigger any targets. This ensures the node will not be scheduled in this cycle anymore. We have to do this because we can't know if the node is still alive or not. When the client receives the stop message, it will unprepare and set the status to INACTIVE. This ensures the driver will no longer trigger the node. If the server didn't already trigger the targets, do this in the remote node then. This avoid a race where both the client and the server are setting the status and if the INACTIVE state is set by the server, it might stall processing of the client. Fixes #4840 |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||