From: Dominic L. <ma...@us...> - 2005-10-19 20:54:41
|
Update of /cvsroot/robotflow/RobotFlow/Devices/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23150/src Modified Files: V4L2Capture.cc Log Message: fixed segfault, default to RGB24 Index: V4L2Capture.cc =================================================================== RCS file: /cvsroot/robotflow/RobotFlow/Devices/src/V4L2Capture.cc,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** V4L2Capture.cc 19 Oct 2005 20:41:35 -0000 1.17 --- V4L2Capture.cc 19 Oct 2005 20:54:33 -0000 1.18 *************** *** 186,198 **** ! Image* image = m_captureDevice.mainloop(); ! if (image) { ! out[count] = ObjectRef(image); ! } ! else { ! throw new GeneralException("V4L2Capture : unable to get image",__FILE__,__LINE__); ! } --- 186,196 ---- ! ! ! ! out[count] = m_captureDevice.mainloop(); ! |