crashes that only happen when debugging is on aren't very nice
authorSteve Baker <steve@stevebaker.org>
Sat, 22 Sep 2001 12:27:12 +0000 (12:27 +0000)
committerSteve Baker <steve@stevebaker.org>
Sat, 22 Sep 2001 12:27:12 +0000 (12:27 +0000)
Original commit message from CVS:
crashes that only happen when debugging is on aren't very nice

gst/gstparse.c

index 292b1b7..67e823a 100644 (file)
@@ -382,7 +382,7 @@ gst_parse_launch_cmdline(int argc,char *argv[],GstBin *parent,gst_parse_priv *pr
         }
       }
 
-      if (!sinkpads) GST_DEBUG(0,"can't find a sink pad for %s\n", gst_element_get_name (previous));
+      if (!sinkpads) GST_DEBUG(0,"can't find a sink pad for element\n");
       else GST_DEBUG(0,"have sink pad %s:%s\n",GST_DEBUG_PAD_NAME(GST_PARSE_LISTPAD(sinkpads)));
 
       if (!srcpads && sinkpads && previous) {