output/PipeWire: initialize field "stream" in Open()
Must be initialized for the check in SetVolume().
This commit is contained in:
parent
233184568c
commit
9975905faf
2
NEWS
2
NEWS
|
@ -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
|
||||
|
|
|
@ -336,6 +336,8 @@ PipeWireOutput::Enable()
|
|||
throw MakeErrno("pw_thread_loop_new() failed");
|
||||
|
||||
pw_thread_loop_start(thread_loop);
|
||||
|
||||
stream = nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue