help needed on image capture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux