output/pipewire: reset the "paused" flag

This was missing in commit 4d1ce7023b
This commit is contained in:
Max Kellermann 2021-08-09 18:39:20 +02:00
parent bd893e6336
commit d33aa01000

View File

@ -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();