VIDIOCSYNC ioctl will not return - DC10

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



 Hi,

 When I issue ioctl(VIDIOCSYNC) the ioctl never returns. Xawtv runs fine
and I can see the input from my camera.

 Here is the code:

  if (ioctl (fdVideoDev, VIDIOCMCAPTURE, &vd.buf_v4l) == -1) {
    perror ("VIDIOCMCAPTURE");
    munmap (map, vd.CapturedFrameBuffer.size);
    return (NULL);
  }
  int Frame = 0;
  if (ioctl (fdVideoDev, VIDIOCSYNC, &Frame) == -1) {
    perror ("VIDIOCSYNC");
    munmap (map, vd.CapturedFrameBuffer.size);
    return (NULL);
  }

 Is there anythinh else I should add?

 Thanks in advance for any reply.

 Marcio Cabral





[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