mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-13 05:33:55 -04:00
impl-port: don't send NULL tag to clear
NULL tags are never handled and so tags just keeps configured on the ports. It's also hard to know the direction from the NULL data. Instead, send an empty Tag with the direction to clear everything.
This commit is contained in:
parent
2f65cf7124
commit
9c7aa4d423
1 changed files with 1 additions and 1 deletions
|
|
@ -1954,7 +1954,7 @@ int pw_impl_port_recalc_tag(struct pw_impl_port *port)
|
|||
count++;
|
||||
}
|
||||
}
|
||||
param = count == 0 ? NULL : spa_tag_build_end(&b.b, &f);
|
||||
param = spa_tag_build_end(&b.b, &f);
|
||||
|
||||
old = port->tag[direction];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue