James Amendolagine wrote: > I'm playing with v4l using a hauppauge card (WinTV). > > I'm bring up a TV display using the mmap interface. How do I know that > the tv window size that I requested is wrong? --By the tv window size, > I mean the size of the image written by video4linux to the mmaped buffer > when the: > > ioctl(vf, VIDIOCMCAPTURE, &video_mmap); call is made. > > Although the image is written, ioctl returns a -1 error, and the "errno" > value reports an error of (int) 16. > > Jamie > > _______________________________________________ > Video4linux-list mailing list > Video4linux-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/video4linux-list OK, I'm now using the ioctl(vf, VIDIOCSYNC, &j); call to block while v4l is finished writing the mmap. The error was reporting that the device was busy. I still don't know how to get the information about the window size though. Jamie