pipewire/spa/plugins
Wim Taymans 46ef88e520 spa: save the old change_mask and restore when emitting full
When we add a new listener to an object, it will emit the full state
of the object. For this it temporarily sets the change_mask to all
changes. Restore the previous state after this or else we might not
emit the right change_mask for the next listener.

Consider the case where one there are two listeners on an object.
The object emits a change and the first listener wants to enumerate the
changed params. For this is adds a new listener and then triggers the
enumeration. If we set the change_mask to 0 after adding the listener,
the second listener would get a 0 change_mask and fail to update
its state.
2021-05-27 15:21:44 +02:00
..
alsa spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
audioconvert spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
audiomixer spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
audiotestsrc spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
bluez5 spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
control spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
ffmpeg spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
jack spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
libcamera spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
support spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
test spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
v4l2 spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
videoconvert spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
videotestsrc spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
volume spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
vulkan spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
meson.build spa: ffmpeg: remove libavformat dependency 2021-05-16 13:10:59 +00:00