mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-31 13:19:51 +00:00
work with debug disabled
Original commit message from CVS: work with debug disabled
This commit is contained in:
parent
c6957f0e92
commit
5da40820c5
1 changed files with 2 additions and 0 deletions
|
@ -1737,7 +1737,9 @@ gst_element_abort_state (GstElement * element)
|
||||||
pending = GST_STATE_PENDING (element);
|
pending = GST_STATE_PENDING (element);
|
||||||
|
|
||||||
if (pending != GST_STATE_VOID_PENDING && !GST_STATE_ERROR (element)) {
|
if (pending != GST_STATE_VOID_PENDING && !GST_STATE_ERROR (element)) {
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
GstElementState old_state = GST_STATE (element);
|
GstElementState old_state = GST_STATE (element);
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_CAT_INFO_OBJECT (GST_CAT_STATES, element,
|
GST_CAT_INFO_OBJECT (GST_CAT_STATES, element,
|
||||||
"aborting state from %s to %s", gst_element_state_get_name (old_state),
|
"aborting state from %s to %s", gst_element_state_get_name (old_state),
|
||||||
|
|
Loading…
Reference in a new issue