source-mirror: Remove double mutex lock

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-03-01 11:37:24 +01:00
parent c0f951d855
commit da6feda981

View file

@ -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<std::mutex> ulock(this->m_audio_lock);
obs_source_output_audio(this->m_self, &this->m_audio_output);
this->m_audio_have_output = false;
}