parse: fix some debug

This commit is contained in:
Wim Taymans 2012-07-17 09:57:47 +02:00
parent fd144c02ab
commit 7b19f3eab2
3 changed files with 4 additions and 2 deletions

View file

@ -251,7 +251,7 @@ gst_parse_launchv_full (const gchar ** argv, GstParseContext * context,
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);

View file

@ -397,7 +397,7 @@ gst_parse_element_set (gchar *value, GstElement *element, graph_t *graph)
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 == '=') {

View file

@ -76,6 +76,8 @@ gst_parse_unescape (gchar *str)
walk = str;
in_quotes = FALSE;
GST_DEBUG ("unescaping %s", str);
while (*walk) {
if (*walk == '\\' && !in_quotes) {
walk++;