Added resources release for AVT cameras (ticket #1814)

pull/13383/head
Alexander Reshetnikov 13 years ago
parent 624880fd67
commit 3d108958e7
  1. 1
      modules/highgui/src/cap_pvapi.cpp

@ -127,6 +127,7 @@ void CvCaptureCAM_PvAPI::close()
PvCommandRun(Camera.Handle, "AcquisitionStop");
PvCaptureEnd(Camera.Handle);
PvCameraClose(Camera.Handle);
PvUnInitialize();
}
// Initialize camera input

Loading…
Cancel
Save