summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2021-03-09 13:22:53 +0100
committerJan Ekström <jeebjp@gmail.com>2021-03-09 23:08:16 +0200
commit4f07607888541e6eb40fc5c3a1edfeb84aacb0f7 (patch)
tree098118467bb918eb55736ed53014aed968691eb5 /player/command.c
parent45e6804478c796c4f00fee26e1f152171effc241 (diff)
downloadmpv-4f07607888541e6eb40fc5c3a1edfeb84aacb0f7.tar.bz2
mpv-4f07607888541e6eb40fc5c3a1edfeb84aacb0f7.tar.xz
ao/pulse: wait for command completion when setting volume or mute
This makes the behavior of all control messages consistent, fixing an inconsistency that has been with us since 4d8266c739915184d3787d7ab727ac03378b341b - which is the initial rework of the polyaudio AO into the pulseaudio AO. Muting the stream also directly triggers an update to the OSD. When not waiting for the command completion this read of the mute property may read the old state. A stale read. Note that this somehow was not triggered on native Pulseaudio, but it is an issue on Pipewire. See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/868
Diffstat (limited to 'player/command.c')
0 files changed, 0 insertions, 0 deletions