output/Multiple: add missing mutex lock
This commit is contained in:
parent
18f4d846c9
commit
5149c950aa
@ -215,6 +215,8 @@ MultipleOutputs::Open(const AudioFormat audio_format,
|
|||||||
std::exception_ptr first_error;
|
std::exception_ptr first_error;
|
||||||
|
|
||||||
for (auto ao : outputs) {
|
for (auto ao : outputs) {
|
||||||
|
const ScopeLock lock(ao->mutex);
|
||||||
|
|
||||||
if (ao->enabled)
|
if (ao->enabled)
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user