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

Rémi Denis-Courmont remi at remlab.net
Sun May 1 16:40:47 CEST 2011


   Hello,

On Thursday 28 April 2011, Rob wrote:
> 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,inde
> x="C:\Fo'lder\Movie/stream.m3u8",index-url=stream-###.ts},mux=ts{use-key-fr
> ames},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?

This does not look right, though I don't fully grasp the existing logic.

-- 
Rémi Denis-Courmont
http://www.remlab.info



More information about the vlc-devel mailing list