mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-07-10 11:03:57 -04:00
context: decrement busy counter correctly for graph recalc
When we need to retry after a reconfigure in graph recalc, decrement the busy counter first or else we will incorrectly pair increment and decrements and have the graph busy forever.
This commit is contained in:
parent
832a1a6af6
commit
9931921c21
1 changed files with 1 additions and 0 deletions
|
|
@ -1775,6 +1775,7 @@ again:
|
|||
if (do_reconfigure) {
|
||||
reconfigure_driver(context, n);
|
||||
/* we might be suspended now and the links need to be prepared again */
|
||||
impl->recalc--;
|
||||
goto again;
|
||||
}
|
||||
/* we have a pending change. We place the new values in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue