mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-06 00:40:34 +00:00
filter: handle NULL latency param
This commit is contained in:
parent
a9fecd50ed
commit
874724877d
|
@ -799,6 +799,9 @@ static int handle_latency(struct filter *impl, struct port *port, const struct s
|
|||
struct spa_latency_info info;
|
||||
int res;
|
||||
|
||||
if (param == NULL)
|
||||
return 0;
|
||||
|
||||
if ((res = spa_latency_parse(param, &info)) < 0)
|
||||
return res;
|
||||
|
||||
|
|
Loading…
Reference in a new issue