Le dimanche 16 mars 2008 20:10, Moritz Barsnick a écrit :
> Hi,
>
> I've been using luvcview to debug and bring up my cam (successfully
>
> :-)), but have some improvements to suggest:
>
> On Sun, Mar 16, 2008 at 10:30:38 -0400, Jerry wrote:
> > Unable to start capture: 71.
>
> I can't help with Jerry's problem, but I have some suggestions for code
> improvements, e.g. to be able to tell Jerry that the above (71) is a
> "protocol error".
>
> The function perror() is being used in a few places, and
> strerror[errno] in a few others, but not consequently throughout. I'm
> attaching a patch which makes more use of perror(), hopefully appending
> useful strings to all error messages. I know it has helped me in using
> luvcview. The patch also removes the trailing "\n"s from perror(),
> which mess up its display.
>
> A second patch removes all whitespace at line ends. Admittedly, this is
> purely cosmetic ;), but was an initial result of my cleanup of perror()
> as mentioned above.
>
> Oh, and since the changelog mentions the version 0.2.2, I thought it
> might be okay to bump the version string in the Makefile as well. :)
>
> If you think these patches are useful, feel free to integrate them into
> its source.
>
> Just to let you know,
> thanks for listening and thanks for the tool!
> Moritz
Moritz,
Thanks for all your patchs ;-)
regards
--
Michel Xhaard
http://mxhaard.free.fr
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel