gst/gstbin.c: Fix build with --gst-disable-gst-debug

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_element_set_state),
(iterator_activate_fold_with_resync), (gst_bin_continue_func),
(bin_handle_async_done), (gst_bin_handle_message_func):
Fix build with --gst-disable-gst-debug
This commit is contained in:
Stefan Kost 2007-04-23 07:30:38 +00:00
parent 74861f2d0e
commit 05287354e3
2 changed files with 29 additions and 22 deletions

View file

@ -1,3 +1,10 @@
2007-04-23 Stefan Kost <ensonic@users.sf.net>
* gst/gstbin.c: (gst_bin_element_set_state),
(iterator_activate_fold_with_resync), (gst_bin_continue_func),
(bin_handle_async_done), (gst_bin_handle_message_func):
Fix build with --gst-disable-gst-debug
2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
* libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):

View file

@ -1841,12 +1841,12 @@ gst_bin_element_set_state (GstBin * bin, GstElement * element,
GST_OBJECT_LOCK (bin);
if ((found = g_list_find_custom (bin->messages, &find,
(GCompareFunc) message_check))) {
#ifndef GST_DISABLE_GST_DEBUG
GstMessage *message = GST_MESSAGE_CAST (found->data);
GstObject *src = GST_MESSAGE_SRC (message);
#endif
GST_DEBUG_OBJECT (element, "element message %p, %s async busy",
message, GST_ELEMENT_NAME (src));
message, GST_ELEMENT_NAME (GST_MESSAGE_SRC (message)));
/* only wait for upward state changes */
if (next > current) {
/* We found an async element check if we can force its state to change or