diff options
author | Max Kellermann <max@musicpd.org> | 2021-08-09 18:39:20 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-08-09 19:31:22 +0200 |
commit | d33aa01000c5b121f1d41b516e6354dd64aa29a6 (patch) | |
tree | 5849a2ddbba78a444519957f4ae2cffb32988f74 | |
parent | bd893e6336fcf48b09ee6c8e4f6901e035c2ead2 (diff) |
output/pipewire: reset the "paused" flag
This was missing in commit 4d1ce7023b8a7
-rw-r--r-- | src/output/plugins/PipeWireOutputPlugin.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output/plugins/PipeWireOutputPlugin.cxx b/src/output/plugins/PipeWireOutputPlugin.cxx index d71505e6a..7fd691ee0 100644 --- a/src/output/plugins/PipeWireOutputPlugin.cxx +++ b/src/output/plugins/PipeWireOutputPlugin.cxx @@ -427,8 +427,10 @@ PipeWireOutput::Play(const void *chunk, size_t size) { const PipeWire::ThreadLoopLock lock(thread_loop); - if (paused) + if (paused) { + paused = false; pw_stream_set_active(stream, true); + } while (true) { CheckThrowError(); |