mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
parse: fix some debug
This commit is contained in:
parent
fd144c02ab
commit
7b19f3eab2
3 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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 == '=') {
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue