modules: update Props and ProcessLatency

When setting Props or ProcessLatency on a stream, it doesn't actually
remember the values that were set so we need to manually update them.

See #4731
This commit is contained in:
Wim Taymans 2025-06-13 12:46:40 +02:00
parent 3d8a19af33
commit 3d1c9f1cce
2 changed files with 18 additions and 12 deletions

View file

@ -501,7 +501,7 @@ static void param_process_latency_changed(struct impl *impl, const struct spa_po
return;
impl->process_latency = info;
update_latencies(impl, true, false);
update_latencies(impl, true, true);
}
static void param_props_changed(struct impl *impl, const struct spa_pod *param)
@ -518,7 +518,7 @@ static void param_props_changed(struct impl *impl, const struct spa_pod *param)
if (impl->process_latency.ns == nsec)
return;
impl->process_latency.ns = nsec;
update_latencies(impl, false, true);
update_latencies(impl, true, true);
}
static void param_tag_changed(struct impl *impl, const struct spa_pod *param,