[vlc-devel] failure to handle ' within " " block

Rob rob at hobbyistsoftware.com
Thu Apr 28 21:59:50 CEST 2011


VLC on Windows, fails to deal properly with the ' within the " " pair in  
this command. Instead, it treats it as closing the block, and then goes on  
to really mangle the parameters.

vlc.exe -I dummy "C:\Temp\Videos\Movie.mpg"  
--sout=#transcode{vcodec=h264,venc=x264}:std{access=livehttp{seglen=10,index="C:\Fo'lder\Movie/stream.m3u8",index-url=stream-###.ts},mux=ts{use-key-frames},dst="C:\Fo'lder\Movie/stream-###.ts"}


This patch fixes the issue. I'm not sure if it breaks other stuff. Is this  
the right way to go about this?

thoughts?

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-fix-handling-of-within-in-transcode-strings-on-windo.patch
Type: application/octet-stream
Size: 723 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110428/31ead791/attachment.obj>


More information about the vlc-devel mailing list