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
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