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

2
NEWS
View File

@ -1,6 +1,8 @@
ver 0.23.6 (not yet released)
* decoder
- opus: fix "readpicture" on Opus files
* output
- pipewire: fix crash bug if setting volume before playback starts
ver 0.23.5 (2021/12/01)
* protocol

View File

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