let's not increment in GST_DEBUG code...
authorAndy Wingo <wingo@pobox.com>
Mon, 4 Mar 2002 05:37:26 +0000 (05:37 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 4 Mar 2002 05:37:26 +0000 (05:37 +0000)
Original commit message from CVS:
let's not increment in GST_DEBUG code...

gst/gstparse.c

index 9ef0bd8..8957d72 100644 (file)
@@ -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! */