mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
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:
parent
3d8a19af33
commit
3d1c9f1cce
2 changed files with 18 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue