output/PipeWire: initialize field "stream" in Open()

Must be initialized for the check in SetVolume().
This commit is contained in:
Max Kellermann
2022-03-09 14:29:00 +01:00
parent 233184568c
commit 9975905faf
2 changed files with 4 additions and 0 deletions

View File

@@ -336,6 +336,8 @@ PipeWireOutput::Enable()
throw MakeErrno("pw_thread_loop_new() failed");
pw_thread_loop_start(thread_loop);
stream = nullptr;
}
void