CVS Commit (jpsaman)

[email protected]
Newsgroups gmane.comp.video.videolan.vls.devel
Message-ID <[email protected]>
Update of /var/cvs/videolan/vls/src/server
Modified Files:
	admin.cpp input.cpp input.h manager.cpp 

Update of /var/cvs/videolan/vls/test
Added Files:
	input_1.exp input_local.exp input_video.exp 

Log Message:
Implementation of input <name> <type> [] [--add] [--delete] command. 
- Adding and deleting is tested for type=local
- Please test type=video and type=dvb
- Adding expect scripts for testing command

BUGS: type=video and type=dvb uses more then one Optional Arguments. This usage does not seem to work very wel. Symptom the second optional argument ("/Mpeg2-PS") in:

input myinput video /dev/video Mpeg2-PS --add

is retrieved in place of the first one ("/dev/video"). Thus strDevice = cRequest.GetArg("device"); gives as result "Mpeg2-TS". The first optional argument dissapears. 

Can someone look at this, please?

-- 
jpsaman
-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.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.