mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
stream: change serial when the param changed
Observers check the flags to see if there is a change. The serial can be used to toggle a change when no other flags change.
This commit is contained in:
parent
8ee91bd738
commit
6160711723
1 changed files with 1 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ static struct param *add_param(struct stream *impl,
|
|||
idx = get_param_index(id);
|
||||
if (idx != -1) {
|
||||
impl->port_info.change_mask |= SPA_PORT_CHANGE_MASK_PARAMS;
|
||||
impl->params[idx].flags ^= SPA_PARAM_INFO_SERIAL;
|
||||
impl->params[idx].flags |= SPA_PARAM_INFO_READ;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue