Added resources release for AVT cameras (ticket #1814)
This commit is contained in:
parent
624880fd67
commit
3d108958e7
@ -126,7 +126,8 @@ void CvCaptureCAM_PvAPI::close()
|
|||||||
// Stop the acquisition & free the camera
|
// Stop the acquisition & free the camera
|
||||||
PvCommandRun(Camera.Handle, "AcquisitionStop");
|
PvCommandRun(Camera.Handle, "AcquisitionStop");
|
||||||
PvCaptureEnd(Camera.Handle);
|
PvCaptureEnd(Camera.Handle);
|
||||||
PvCameraClose(Camera.Handle);
|
PvCameraClose(Camera.Handle);
|
||||||
|
PvUnInitialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize camera input
|
// Initialize camera input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user