mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
filter-chain: only reset rate when suspended
Otherwire we can continue with the graph configuration if the rates still match.
This commit is contained in:
parent
f9efc63a04
commit
b065899859
1 changed files with 1 additions and 1 deletions
|
|
@ -1180,12 +1180,12 @@ static void param_changed(void *data, uint32_t id, const struct spa_pod *param)
|
|||
spa_zero(info);
|
||||
if (param == NULL) {
|
||||
graph_cleanup(graph);
|
||||
impl->rate = 0;
|
||||
} else {
|
||||
if ((res = spa_format_audio_raw_parse(param, &info)) < 0)
|
||||
goto error;
|
||||
}
|
||||
impl->info = info;
|
||||
impl->rate = 0;
|
||||
break;
|
||||
}
|
||||
case SPA_PARAM_Props:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue