mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
impl-link: also handle unprepared active links
An ACTIVE link going to < PAUSED is unprepared.
This commit is contained in:
parent
dd7a2819fa
commit
1bdb01d6fd
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ static void link_update_state(struct pw_impl_link *link, enum pw_link_state stat
|
|||
link->prepared = true;
|
||||
link->preparing = false;
|
||||
pw_context_recalc_graph(link->context, "link prepared");
|
||||
} else if (old == PW_LINK_STATE_PAUSED && state < PW_LINK_STATE_PAUSED) {
|
||||
} else if (old >= PW_LINK_STATE_PAUSED && state < PW_LINK_STATE_PAUSED) {
|
||||
link->prepared = false;
|
||||
link->preparing = false;
|
||||
pw_context_recalc_graph(link->context, "link unprepared");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue