Re: [GnomeMeeting-devel-list] Re: [OpenH323]VIDEO ISSUE SOLVED:Reg Latest Openh323 compilation in Linux
- From: Derek Smithies <derek indranet co nz>
- To: openh323 openh323 org
- Cc: Kilian Krause <kk verfaction de>, dsandras seconix com, gnomemeeting-devel-list gnome org
- Subject: Re: [GnomeMeeting-devel-list] Re: [OpenH323]VIDEO ISSUE SOLVED:Reg Latest Openh323 compilation in Linux
- Date: Fri, 3 Sep 2004 15:03:22 +1200 (NZST)
Hi,
My turn to add comments..
Code Review:: vidinput_v4l.cxx
//Now, we need to cope with the case where there are two video
//devices available, which both have the same user friendly name.
//Matching user friendly names have a (X) appended to the name.
for (i = 0; i < tempList.GetSize(); i++) {
PString userName = tempList.GetDataAt(i);
PINDEX matches = 1;
for (j = i + 1; j < tempList.GetSize(); j++) {
if (tempList.GetDataAt(j) == userName) {
matches++;
PStringStream revisedUserName;
revisedUserName << userName << " (" << matches << ")";
tempList.SetDataAt(j, revisedUserName);
}
}
}
Example::
If there are three cameras in the list, both of which with nmes of
webcam
the list becomes
webcam
webcam (2)
webcam (3)
Derek.
===============================================================
On Thu, 2 Sep 2004, Guilhem Tardy wrote:
> My 2 cents:
>
> It was noted that 2 identical cameras need to be identified with different
> strings. So, however one likes the "user friendly" camera names, it is broken.
> Damian proposed appending [1], someone said #1, ... whatever.
>
> Users of GUI apps such as GnomeMeeting probably don't want to know about
> /dev/video0, I understand this. There are ways to hide such information, and I
> am not talking rocket science here. Thus, it is no argument as to how the PwLib
> should work underneath.
>
> There are cases where one would like to just say /dev/video0, whatever camera
> (maker/model) it is. Take an embedded box with one video input. Whichever way
> camera naming is handled, this has to be a valid option.
>
> If it works, why fix it?
>
> Does it work?
>
> Best regards,
> Guilhem.
>
>
>
> _______________________________
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
> ------------------------------------------------------------------------
> Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
> The OpenH323 Project mailing list, using Mailman. To unsubscribe or
> change your subscription options, goto
> http://www.openh323.org/mailman/listinfo/openh323
> Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
> ------------------------------------------------------------------------
>
>
>
--
Derek Smithies Ph.D. This PC runs pine on linux for email
IndraNet Technologies Ltd. If you find a virus apparently from me, it has
Email: derek indranet co nz forged the e-mail headers on someone else's machine
ph +64 3 365 6485 Please do not notify me when (apparently) receiving a
Web: http://www.indranet-technologies.com/ windows virus from me......
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]