parse: escape \ with a \ as well, so that we don't lose the \ when unescaping
authorChristophe Fergeau <teuf@gnome.org>
Wed, 27 Jun 2012 18:59:29 +0000 (19:59 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 27 Jun 2012 18:59:29 +0000 (19:59 +0100)
commitdd9fedb41f1ada8e1f8bd5346fccd3d068d543cb
tree3fef4e6789d6b8b9b0784dbe531533d23d80d25c
parente4301fe50ffa9d861d996115742650358f5afcda
parse: escape \ with a \ as well, so that we don't lose the \ when unescaping

If we have a file called Foo\Bar.ogg, there is no way to pass
that filename properly to filesrc in gst_parse_launch(), since
gst_parse_unescape() will just unescape \x to x.

Not cherry-picking this into 0.10 since there are apparently
apps that work around this problem and which would break if
we fixed it there too.

https://bugzilla.gnome.org/show_bug.cgi?id=673319
gst/gstparse.c