From 14289506c780585f9ee60c6912ab205d3a123e7d Mon Sep 17 00:00:00 2001 From: EricClaeys <83164203+EricClaeys@users.noreply.github.com> Date: Tue, 14 Sep 2021 03:02:22 -0500 Subject: [PATCH] Turn on video mode for 0.7 exposure method This was left out of the fix implemented a couple weeks ago. Without this change, people using the version 0.7 exposure method will get failures. --- capture.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/capture.cpp b/capture.cpp index 1961a6f9a..6c69bc59e 100644 --- a/capture.cpp +++ b/capture.cpp @@ -1734,6 +1734,16 @@ const char *locale = DEFAULT_LOCALE; else printf("Stop the allsky service to end this process.\n\n"); + if (! use_new_exposure_algorithm) + { + asiRetCode = ASIStartVideoCapture(CamNum); + if (asiRetCode != ASI_SUCCESS) + { + printf("*** ERROR: Unable to start video capture: %s\n", getRetCode(asiRetCode)); + closeUp(99); + } + } + while (bMain) { std::string lastDayOrNight;