mirror of
https://github.com/vale981/Taevitas
synced 2025-03-05 09:31:42 -05:00
do not grab that last image
This commit is contained in:
parent
ff9f0b6ba5
commit
d9df3b9cf2
1 changed files with 2 additions and 1 deletions
|
@ -57,13 +57,14 @@ void CameraManager::stopCapture() {
|
|||
if ( !is_capturing )
|
||||
return;
|
||||
|
||||
grabber->stopCapturing();
|
||||
|
||||
Error error = camera.StopCapture();
|
||||
if ( error != PGRERROR_OK ) {
|
||||
throw error;
|
||||
return;
|
||||
}
|
||||
|
||||
grabber->stopCapturing();
|
||||
grabber->wait();
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue