2008-03-16, 13:56
Hi,
I played around with the uvcctrl and I have the problem that I can't set 'Exposure, Auto Priority'.
Debugging it, I saw that controls.c:get_control_id() you look up the ID of the control.
Now, the problem is 'Exposure, Auto Priority' has Control-ID 0.
In main.c line 600++ you do a "if(!controlId)" which gets true with control-id 0.
Would it be ok, if you default id in get_control_id to '-1' and then check the returned control-id to be <0 in the if statement.
Thanks
Philipp
I played around with the uvcctrl and I have the problem that I can't set 'Exposure, Auto Priority'.
Debugging it, I saw that controls.c:get_control_id() you look up the ID of the control.
Now, the problem is 'Exposure, Auto Priority' has Control-ID 0.
In main.c line 600++ you do a "if(!controlId)" which gets true with control-id 0.
Would it be ok, if you default id in get_control_id to '-1' and then check the returned control-id to be <0 in the if statement.
Thanks
Philipp