Re: Logitch Quickcam Driver ??????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jon Webb wrote:

I have an idea. I think there's a bug in quickcam.c. For me, xawtv worked fine, but when I tried to use camstream I got only black images. I traced the problem down to a check in quickcam.c that looks like a workaround that went wrong--basically, the code is supposed ot check if the palette is supported, but instead it rejects the palette if it doesn't have 24 bits. This worked for my xawtv, which apparently ignored this check, but maybe your xawtv pays attention to the check.. I fixed this with the attached diff file for quickcam.c. Try applying it to quickcam.c and see if you have better results.

Thanks, I applied your patch, but get the same exact error. I'm not sure where this error comes from, as I don't find these text string ("no way to get") in the quickcam code.

I'm recompiling with debug level, see what that presents.


BTW I reported this bug on the qce SourceForge page, no action so far.

-- Jon Webb




------------------------------------------------------------------------

1662,1668c1662,1664
< 				if (p.depth!=24)
< 					retval = -EINVAL;
< 				else {
< 					retval = IsSupported(p.palette);
< 					if (!retval)
< 						quickcam->vpic.palette = p.palette;
< 				}
---

				retval = IsSupported(p.palette);
				if (!retval)
				  quickcam->vpic.palette = p.palette;



--
Until later: Geoffrey		esoteric@xxxxxxxxxxxx

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux