Merge branch 'v0.23.x'

This commit is contained in:
Max Kellermann
2022-07-04 19:21:18 +02:00
2 changed files with 4 additions and 1 deletions

View File

@@ -234,7 +234,8 @@ private:
[[maybe_unused]] uint32_t id,
const struct pw_stream_control *control) noexcept {
auto &o = *(PipeWireOutput *)data;
if (StringIsEqual(control->name, "Channel Volumes"))
if (control->name != nullptr &&
StringIsEqual(control->name, "Channel Volumes"))
o.ControlInfo(control);
}