filter-chain: we manage the state from the playback stream

This commit is contained in:
Wim Taymans 2025-06-13 11:58:13 +02:00
parent 72e0fe0479
commit 3d8a19af33

View file

@ -1311,7 +1311,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_INPUT)
if (direction == SPA_DIRECTION_OUTPUT)
deactivate_graph(impl);
impl->rate = 0;
} else {