Hi, this quick and dirty patch allows to turn vidinput_v4l.cxx into vidinput_v4l1.cxx, another driver for the video4linux devices, but this one is named "V4L1". It uses the same .h as the V4L one, and should be compiled the same way, but to give a v4l1.so plugin, that can be installed at the same time as the usual one, to be tested side-by-side with it. In fact, if it gets packaged, it should end up in the same package as the usual v4l.so :-) What does it do? With my parent's webcam, a logitech quickcam express (driver qc-usb-0.5.1), one needs to run a program to turn on a little option in the driver, or the driver works in preview and not in communication (!). With V4L1, there's no need to tamper with the driver, it just works. And hopefully, this modification shouldn't give any problem with other drivers. Now, if you ALL REPORT that there's no regression between the usual V4L and V4L1, I'll probably make a new V4L, that should end the flow of problem reports with that type of webcams. Please precise with which driver it works/doesn't work. Snark PS1: for those that know about the problem: I basically comment out what makes V4L use two buffers, so that we only use a single one repeatedly. Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
Attachment:
v4l.patch
Description: Binary data