From 156d629b0077a36edb6d68e9821432e2270124bb Mon Sep 17 00:00:00 2001 From: Thomas Jacquin Date: Fri, 3 Sep 2021 14:05:27 -0700 Subject: [PATCH] Removed start/stop video lines - bug fix (#455) These lines should have been removed in the fix to # 417. Co-authored-by: EricClaeys <83164203+EricClaeys@users.noreply.github.com> --- capture.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/capture.cpp b/capture.cpp index 39b2e399d..a20484969 100644 --- a/capture.cpp +++ b/capture.cpp @@ -462,7 +462,6 @@ ASI_ERROR_CODE takeOneExposure( status = ASI_SUCCESS; } - status = ASIStartVideoCapture(cameraId); if (status == ASI_SUCCESS) { status = ASIGetVideoData(cameraId, imageBuffer, bufferSize, timeout); if (status != ASI_SUCCESS) { @@ -484,7 +483,6 @@ ASI_ERROR_CODE takeOneExposure( ASIGetControlValue(cameraId, ASI_GAIN, &actualGain, &bAuto); ASIGetControlValue(cameraId, ASI_TEMPERATURE, &actualTemp, &bAuto); } - ASIStopVideoCapture(cameraId); if (use_new_exposure_algorithm) ASIStopVideoCapture(cameraId);