From da6feda9812e64bc6a68097b1a2c4605fd234e3a Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Fri, 1 Mar 2019 11:37:24 +0100 Subject: [PATCH] source-mirror: Remove double mutex lock --- source/sources/source-mirror.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/sources/source-mirror.cpp b/source/sources/source-mirror.cpp index 494ec6dc..75fe5a9c 100644 --- a/source/sources/source-mirror.cpp +++ b/source/sources/source-mirror.cpp @@ -625,7 +625,6 @@ void source::mirror::mirror_instance::audio_output_cb() while (!this->m_audio_kill_thread) { if (this->m_audio_have_output) { - std::unique_lock ulock(this->m_audio_lock); obs_source_output_audio(this->m_self, &this->m_audio_output); this->m_audio_have_output = false; }