Hi, please help me. I am using Philips ToU usb cam
in redhat 7.2. After I fixed VIDIOCMCAPTURE,
I met another problem that VIDIOCSYNC is not
working, and the error is invalid argument.
while(i<0){
i= ioctl(cam,VIDIOCSYNC, &frame); if(i < 0 && errno == EINTR) continue; if (i < 0) { // it start to capture to perror ("VIDIOCSYNC"); // the other buffer. exit(-1); } break; What's wrong with it, is there any special thing
for ToU cam?
thanks a lot
Li
|