[Gambas-devel] Re; Bug?

Gareth Bult gareth at ...560...
Fri Jan 9 16:24:34 CET 2009


Hi,

See my last posting / fix .. not so much broken as incomplete ...
What I've put in should fix a number of cameras and leave a hook to easily fix any more that appear to be an issue.

Regards,
Gareth.


----- Original Message -----
From: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas developers" <gambas-devel at lists.sourceforge.net>
Sent: Friday, 9 January, 2009 2:08:08 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-devel] Re; Bug?

On mardi 6 janvier 2009, Gareth Bult wrote:
> Hi,
>
> I'm trying the following code in 2.0 and trunk to the same effect;
>
> Blank page, one button (Button1), one picture object (MyFrame);
>
> ' Gambas class file
>
> Private hWebcam As VideoDevice
>
> Public Sub Form_Open()
> hWebcam = New VideoDevice("/dev/video0")
> End
>
> Public Sub Button1_Click()
> MyFrame.Picture = hWebcam.Picture '****
> End
>
> Fails with;
> "Unable to get image" on the marked line.
>
> /dev/video0 works fine on every other program I can try that uses a webcam
> .. gb.v4l broken ?

Daniel Campos wrote the component. I know nothing about v4l, so it's hard for 
me to guess what could be wrong.

Regards,

-- 
Benoit Minisini

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel

-- 
Managing Director, Encryptec Limited
Tel: 0845 5082719, Mob: 0785 3305393
Email: gareth at ...560... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.




More information about the Devel mailing list