From 61607117238dcfd80e49a6fb0e378d0e8fda59a4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 18 Jun 2020 12:53:23 +0200 Subject: [PATCH] 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. --- src/pipewire/stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pipewire/stream.c b/src/pipewire/stream.c index c2586e2fe..ae7937fce 100644 --- a/src/pipewire/stream.c +++ b/src/pipewire/stream.c @@ -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; }