Commit a3a59eb0 authored by Rémi Duraffort's avatar Rémi Duraffort

vlm: don't remove quotes around name in

setup test output #standard{mux=ts,access=udp,dst=239.255.100.42,sap,name="Pouet Pouet"}
That's maybe not the best way to do this.
Fix #2346
parent 0453922a
......@@ -138,9 +138,20 @@ static const char *FindCommandEnd( const char *psz_sent )
static int Unescape( char *out, const char *in )
{
char c, quote = 0;
bool param = false;
while( (c = *in++) != '\0' )
{
// Don't escape the end of the string if we find a '#'
// that's the begining of a vlc command
// TODO: find a better solution
if( c == '#' || param )
{
param = true;
*out++ = c;
continue;
}
if( !quote )
{
if (strchr(quotes,c)) // opening quote
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment