[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: Webcam fixes
From:       Gustavo Boiko <gustavo.boiko () kdemail ! net>
Date:       2009-12-28 13:08:29
Message-ID: EE42396C-17AA-4468-8A78-005333F4829A () kdemail ! net
[Download RAW message or body]

Hi

Em 27/12/2009, ās 23:51, Alex Merry escreveu:

> When trying to generate an avatar from a webcam capture, kopete crashed.  I 
> fixed the crash and committed it (just a guard on the size of the destination 
> of memcpy - r1066810 [trunk], r1066826 [4.3]), but the underlying problem was 
> still there, causing the image from the webcam to be screwed up.
> 
> The problem is that the configure dialog's A/V page webcam widget sets the 
> webcam capture size to 320x240, then the avatar webcam dialog tries to set it 
> to 640x480.  This fails (because the device is in use), but the VideoDevice 
> class goes ahead assuming it worked.
> 
> The attached patch is a quick fix for it.  It also fixes the problem where you 
> can get a camera listed multiple times in the A/V config page.
> 
> The fix is pretty straightforward and minimal - I'd like to tidy up the webcam 
> support in kopete properly when we're out of feature freeze.

The patch is fine in my opinion. The webcam support is really needing some care, good \
to know you are volunteering to help on that :)

Cheers

Boiko
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic