mirror of https://github.com/mpv-player/mpv
\, escaping
applying my own patch due to lack of anyone objecting to it and as its pretty much needed for -vf geq git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20320 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f857896306
commit
4375571265
|
@ -1672,7 +1672,14 @@ static int parse_obj_settings_list(m_option_t* opt,char *name,
|
|||
|
||||
while(ptr[0] != '\0') {
|
||||
last_ptr = ptr;
|
||||
ptr = strchr(ptr,LIST_SEPARATOR);
|
||||
for(;;){
|
||||
ptr = strchr(ptr,LIST_SEPARATOR);
|
||||
if(ptr && ptr>last_ptr && ptr[-1]=='\\'){
|
||||
memmove(ptr-1, ptr, strlen(ptr)+1);
|
||||
}else
|
||||
break;
|
||||
}
|
||||
|
||||
if(!ptr) {
|
||||
r = parse_obj_settings(name,last_ptr,opt->priv,dst ? &res : NULL,n);
|
||||
if(r < 0) {
|
||||
|
|
Loading…
Reference in New Issue