mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-18 06:46:28 -04:00
filter-chain: deactivate when Format is unset
We need to deactivate the graph when the format was cleared on both the input and output. This means we got suspended and we need to clear. We can safely do this now because we take the right locks.
This commit is contained in:
parent
5f9811d085
commit
7df106bc25
1 changed files with 1 additions and 2 deletions
|
|
@ -1537,8 +1537,7 @@ static void param_changed(struct impl *impl, uint32_t id, const struct spa_pod *
|
|||
spa_zero(info);
|
||||
if (param == NULL) {
|
||||
pw_log_info("module %p: filter deactivate", impl);
|
||||
if (direction == SPA_DIRECTION_OUTPUT)
|
||||
deactivate_graph(impl);
|
||||
deactivate_graph(impl);
|
||||
impl->rate = 0;
|
||||
} else {
|
||||
if ((res = spa_format_audio_raw_parse(param, &info)) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue