From: Dominic L. <ma...@us...> - 2005-10-20 13:25:43
|
Update of /cvsroot/robotflow/RobotFlow/Devices/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1486/include Modified Files: V4L2Capture.h Log Message: updated driver Index: V4L2Capture.h =================================================================== RCS file: /cvsroot/robotflow/RobotFlow/Devices/include/V4L2Capture.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** V4L2Capture.h 19 Oct 2005 21:14:01 -0000 1.14 --- V4L2Capture.h 20 Oct 2005 13:25:26 -0000 1.15 *************** *** 1,6 **** #ifndef _V4L2CAPTURE_H_ /* ! * V4L2 video capture example */ --- 1,25 ---- + + /* Copyright (C) 2005 Dominic Letourneau (dom...@us...) + [...1038 lines suppressed...] ! if (EINVAL == xioctl(m_fd,VIDIOC_S_CTRL,&control)) { ! perror("set_hue->VIDIOC_S_CTR"); return false; } *************** *** 678,683 **** control.value = saturation; ! if (EINVAL == ioctl(fd,VIDIOC_S_CTRL,&control)) { ! perror("VIDIOC_S_CTR"); return false; } --- 737,742 ---- control.value = saturation; ! if (EINVAL == xioctl(m_fd,VIDIOC_S_CTRL,&control)) { ! perror("set_saturation->VIDIOC_S_CTR"); return false; } |