On mer, 2008-11-12 at 11:38 +0100, Laurent Pinchart wrote: > Hi Filippo,
Hi Laurent, (Hi Hans too) > Then, and this might be the real issue here, the application calls > VIDIOC_S_FMT but libv4l doesn't relay that to the driver. I suppose there's a > check in the library that compares the requested format with the current > format and returns immediately if they are identical. This means the camera > doesn't receive any set format request between the two runs. I wouldn't be > surprised if camera developers never expected that. > > As a quick workaround, could you please try the attached patch ? It modifies > device initialisation to make sure a set format request is send right before > starting the video stream. It seems you are right, with this patch applied I can run the gst-launch pipeline plenty of times without any lock. Cheese seems fixed too (webcam startup is a bit slow when the maximum resolution is set but itd did always behave this way). So where is the right place to fix this? > I'm moving from the SVN repository on Berlios to Mercurial on linuxtv.org. It > was easier for me yesterday to generate the patch against SVN. Thanks for making it clear. Best Regards, Filippo Argiolas _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
