Xaymar/obs-StreamFX

Crash with audio and Media Source in Source Mirror #23

Xaymar posted onGitHub

Describe the bug OBS Stream Effects will crash if the referenced audio source is destroyed before the audio mirror is destroyed.

To Reproduce

  1. Add a Source Mirror and Media Source.
  2. Set the Media Source to contain video and audio data.
  3. Point it at a Media Source and enable audio
  4. Delete the Media Source
  5. Occasionally crash

Expected behavior OBS Stream Effects doesn't crash.

Desktop (please complete the following information):

  • Operating System: Windows
  • Kernel Version: 1809
  • Plugin Version: master

Additional context Crash happens due to this->m_audio_capture never being cleared, only replaced.


Fund this Issue

$0.00
Funded

Pull requests