Commit 5149c950 authored by Max Kellermann's avatar Max Kellermann

output/Multiple: add missing mutex lock

parent 18f4d846
......@@ -215,6 +215,8 @@ MultipleOutputs::Open(const AudioFormat audio_format,
std::exception_ptr first_error;
for (auto ao : outputs) {
const ScopeLock lock(ao->mutex);
if (ao->enabled)
enabled = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment