Skip to content

Commit

Permalink
Removed start/stop video lines - bug fix (#455)
Browse files Browse the repository at this point in the history
These lines should have been removed in the fix to # 417.

Co-authored-by: EricClaeys <[email protected]>
  • Loading branch information
thomasjacquin and EricClaeys authored Sep 3, 2021
1 parent 2d04026 commit 156d629
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions capture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
Expand Down

0 comments on commit 156d629

Please sign in to comment.