UI: Fix crash when starting vcam before other outputs
The BasicOutputHandler::Active() function was used for checking whether outputs had started or not. However, the virtual camera is not used in the subclasses; instead it's a part of the base class. Because of that fact, when the virtual camera is started, the procedures used to start up the other outputs are never called, causing outputs to crash because they hadn't been initialized properly. For example, starting the virtual camera, then starting stream/recording would crash. So, as a simple fix to this, when checking the active status in the derived classes, do not factor in the virtual camera.
Showing
想要评论请 注册 或 登录