Skip to content

Commit 4a7762d

Browse files
committed
Disable delayed auto-start of recording
In the multi-camera recording flow, the `QTimer.singleShot` call that automatically triggered `_start_multi_camera_recording` after starting preview is commented out. This stops the delayed automatic recording start when preview is not yet running.
1 parent 45425fd commit 4a7762d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dlclivegui/gui/main_window.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1965,7 +1965,7 @@ def _start_recording(self) -> None:
19651965
# The recording will start after preview is confirmed running
19661966
self.statusBar().showMessage("Starting preview before recording...", 3000)
19671967
# Use a single-shot timer to start recording after preview starts
1968-
QTimer.singleShot(500, self._start_multi_camera_recording)
1968+
# QTimer.singleShot(500, self._start_multi_camera_recording)
19691969
return
19701970

19711971
# Preview already running, start recording immediately

0 commit comments

Comments
 (0)