Commit 61607117 authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent 8ee91bd7
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment