Virtual camera output stops updating after disable_virtualcam() sets self.virtcam to None.
In video_processor.py, send_frame_to_virtualcam() only sends frames when self.virtcam already exists:
if self.main_window.control["SendVirtCamFramesEnableToggle"] and self.virtcam:
If disable_virtualcam() is called while SendVirtCamFramesEnableToggle remains ON, self.virtcam becomes None.
After that, send_frame_to_virtualcam() silently returns forever and never recreates the virtual camera.
Result:
- VisoMaster preview keeps moving
- Unity Video Capture / OBS Virtual Camera shows a frozen frame
- ffplay can open the device, but the frame does not update
Fix tested:
When SendVirtCamFramesEnableToggle is ON and self.virtcam is None, call enable_virtualcam() before sending frames.
Virtual camera output stops updating after disable_virtualcam() sets self.virtcam to None.
In video_processor.py, send_frame_to_virtualcam() only sends frames when self.virtcam already exists:
if self.main_window.control["SendVirtCamFramesEnableToggle"] and self.virtcam:
If disable_virtualcam() is called while SendVirtCamFramesEnableToggle remains ON, self.virtcam becomes None.
After that, send_frame_to_virtualcam() silently returns forever and never recreates the virtual camera.
Result:
Fix tested:
When SendVirtCamFramesEnableToggle is ON and self.virtcam is None, call enable_virtualcam() before sending frames.