Commit 3499703e authored by Stefano Fabri's avatar Stefano Fabri

Fixed a typo

parent 22d22fd9
...@@ -255,7 +255,8 @@ IplImage* CvCaptureCAM_PvAPI::retrieveFrame(int) ...@@ -255,7 +255,8 @@ IplImage* CvCaptureCAM_PvAPI::retrieveFrame(int)
if (PvCaptureWaitForFrameDone(Camera.Handle, &(Camera.Frame), 1000) == ePvErrSuccess) { if (PvCaptureWaitForFrameDone(Camera.Handle, &(Camera.Frame), 1000) == ePvErrSuccess) {
if (!monocrome) if (!monocrome)
cvMerge(grayframe,grayframe,grayframe,NULL,frame); cvMerge(grayframe,grayframe,grayframe,NULL,frame);
return frame;
return grayframe; return grayframe;
} }
else return NULL; else return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment