work with debug disabled

Original commit message from CVS:
work with debug disabled
This commit is contained in:
Thomas Vander Stichele 2005-04-10 21:42:32 +00:00
parent c6957f0e92
commit 5da40820c5

View file

@ -1737,7 +1737,9 @@ gst_element_abort_state (GstElement * element)
pending = GST_STATE_PENDING (element);
if (pending != GST_STATE_VOID_PENDING && !GST_STATE_ERROR (element)) {
#ifndef GST_DISABLE_GST_DEBUG
GstElementState old_state = GST_STATE (element);
#endif
GST_CAT_INFO_OBJECT (GST_CAT_STATES, element,
"aborting state from %s to %s", gst_element_state_get_name (old_state),