mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
parent
56786aedc4
commit
b094057b0b
12 changed files with 20 additions and 13 deletions
|
|
@ -493,7 +493,7 @@ static void param_latency_changed(struct stream *s, const struct spa_pod *param,
|
|||
bool update = false;
|
||||
enum spa_direction direction = port->direction;
|
||||
|
||||
if (spa_latency_parse(param, &latency) < 0)
|
||||
if (param == NULL || spa_latency_parse(param, &latency) < 0)
|
||||
return;
|
||||
|
||||
if (spa_latency_info_compare(&port->latency[direction], &latency)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue