diff --git a/gst/gstparse.c b/gst/gstparse.c index 9ef0bd8be3..8957d7254a 100644 --- a/gst/gstparse.c +++ b/gst/gstparse.c @@ -600,8 +600,8 @@ gst_parse_launch (const gchar * pipeline_description) g_slist_free (string_list); /* print them out */ - while (argvn[i]) { - GST_DEBUG (0, "arg %d is: %s\n", i, argvn[i++]); + while (argvn[i++]) { + GST_DEBUG (0, "arg %d is: %s\n", i-1, argvn[i-1]); } /* do it! */