Bug in VLS-0.5.0

Claude Duvallet <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Organization LIT/ENSTB
Message-ID <[email protected]>
Hello,

I would like to know why I can't get the version 0.5.0 by CVS. When I
use cvs, I retrieve the version 0.4.5. It's strange ...

So I get the tarball and I install it. I notice than when I add a
program by the telnet administration with a name containing capitals, it
is registred in minuscules.

I have found where is the problem :
* I change a line in the file application.h
* I replace "{ m_cSettings.Update(strKey.ToLower(), strValue.ToLower());
}" by "{ m_cSettings.Update(strKey.ToLower(), strValue); }
"

I have find another problem. When I add a program with the telnet 
administration, I can't start streaming of it. It say that the file '' 
does not exist. After having look at the code, I find that the "key" use 
to registred the program is not the same than the key use to start 
streaming of it.
I change the line 423 of the file localinput.cpp and it works. The new 
line is : strKey = GetName() + "." +C_String(uiPgrmCount)+ ".FileName";

and the line 171-172 become : C_String strType = 
pApp->GetSetting(C_String(uiId) + ".Type", "Mpeg2-TS").ToLower();

Now It works but I don't know if It can have consequences on other parts
of the code.

I have a last problem : if I add no program with the config file 
"vls.cfg" and so I set ProgramCount=0, I can't add program with telnet 
administration, it says the "ProgramList is empty." ???


-- 
================================================
Claude Duvallet
LIT, ENST Bretagne
Technopole Brest Iroise
BP 832
29285 Brest Cedex
Tel : (0|33) 229 001 502
Fax : (0|33) 229 001 282
Courriel : [email protected]
http://perso-info.enst-bretagne.fr/~cduvalle
================================================






-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.