crashes that only happen when debugging is on aren't very nice

Original commit message from CVS:
crashes that only happen when debugging is on aren't very nice
This commit is contained in:
Steve Baker 2001-09-22 12:27:12 +00:00
parent 813d84543a
commit c30947dc3e

View 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))); else GST_DEBUG(0,"have sink pad %s:%s\n",GST_DEBUG_PAD_NAME(GST_PARSE_LISTPAD(sinkpads)));
if (!srcpads && sinkpads && previous) { if (!srcpads && sinkpads && previous) {