Re: [libdc] 2.0.3 and juju: trouble with grab_color_image2
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: David M. <dcm@MIT.EDU> - 2008-12-30 19:07:43
|
On Tue, 2008-12-30 at 13:14 -0500, David J. Schuller wrote: > This is much much better! I installed the SVN version and ran the > program about a hundred times, only encountering two failures, at the > dc1394_capture_setup call. Good news! I would still like to reduce those errors to zero if possible. Again, it would be helpful if you could run with DC1394_DEBUG=1 so I can see the nature of the error. My hunch is that the usleep() on line 309 of dc1394/juju/control.c is too small. Currently, it will sleep 500 us between retries, a maximum of 300 times. You might try changing the usleep to 1000 or 2000 to see if that helps. You could also try changing the retry count from 300 to something higher. -David |