Hi Jakob,
i've looked at your sources and i wonder
why you use "return _RGB_ or _YUV_ data in
read() mode"....
better find use VIDIOCSPICT to find out what
the program wants
YUV...or .. RGB
then have an internal video_picture
and change the palette in there
then in your read() function
simply query the cam->vpic.palette
and decide wheter to read YUV or RGB
Bye
Bye
Niko
-- Nikolas Zimmermann wildfox@kde.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/