Re: [Amsn-devel] Capture_SetAttribute patch

2009-03-23 Thread Youness Alaoui
Hi Brian! Thank you for noticing the bug and for providing us with the patch! I've now integrated it aMSN's SVN (with a sligh change). You can see the commidiff here : http://amsn.svn.sourceforge.net/viewvc/amsn?view=rev&revision=11105 Thanks again, great work! :) /me loves open source and cont

[Amsn-devel] Capture_SetAttribute patch

2009-03-20 Thread Brian Johnson
Hello All, I've discovered a slight bug in the Capture_SetAttribute function. It seems to check the range of new_value as being between 0 and 65535. This is wrong as v4l2 controls are defined as being signed 32bit integers. It should really be checking that the range is between the attributes min a