Added resources release for AVT cameras (ticket #1814)

This commit is contained in:
Alexander Reshetnikov 2012-04-20 13:29:10 +00:00
parent 624880fd67
commit 3d108958e7

View File

@ -126,7 +126,8 @@ void CvCaptureCAM_PvAPI::close()
// Stop the acquisition & free the camera
PvCommandRun(Camera.Handle, "AcquisitionStop");
PvCaptureEnd(Camera.Handle);
PvCameraClose(Camera.Handle);
PvCameraClose(Camera.Handle);
PvUnInitialize();
}
// Initialize camera input