argvp = argv;
while (*argvp) {
arg = *argvp;
- GST_DEBUG ("eascaping argument %s", arg);
+ GST_DEBUG ("escaping argument %s", arg);
tmp = _gst_parse_escape (arg);
g_string_append (str, tmp);
g_free (tmp);
if (element == NULL)
goto out;
- /* parse the string, so the property name is null-terminated an pos points
+ /* parse the string, so the property name is null-terminated and pos points
to the beginning of the value */
while (!g_ascii_isspace (*pos) && (*pos != '=')) pos++;
if (*pos == '=') {
walk = str;
in_quotes = FALSE;
+ GST_DEBUG ("unescaping %s", str);
+
while (*walk) {
if (*walk == '\\' && !in_quotes) {
walk++;