[Gambas-devel] Webcam mods (Logitec Quickcam 4000 etc) :: testers wanted ...

Benoit Minisini gambas at ...1...
Tue Jan 20 14:54:28 CET 2009


On lundi 19 janvier 2009, Gareth Bult wrote:
> Ok,
>
> Answering my own question ( :) ) modifying the demo to read;
>
> Picturebox.Picture = hWebCam.Image.Picture works
> (from Picturebox.Picture = hWebCam.Picture)
>
> .. is this the way it "should" be done?

Yes. The old way actually did the same thing internally, so to simplify my 
job, I removed it.

>
> I now have the basic V4L2 code integrated and am running two webcams side
> by side, looks fine in my demo program .. however I notice there is some
> flicker on the "MyWebCam" demo, and I'm not sure where it's coming from.
> (again, not seeing it on my demo) I guess this is going to be attributes
> set on visual components (?) but I can't spot the difference.

It should come from the gui component. You can compare between gb.qt and 
gb.gtk to see if there is a difference. Anyway, I will look at that 
flickering problem after your code has been committed.

>
> Anyway, subject to implementing some of the more trivial properties (width,
> height etc..) I'm pretty much done.
>
> Just need SVN details for "oddjobz" ..

I granted you a svn write access. Please read carefully the "how to deal with 
Subversion" page in the wiki: I defined a standard for writing svn commit 
logs, so that the ChangeLog is automatically generated. So you must follow 
it!

Regards,

-- 
Benoit Minisini




More information about the Devel mailing list