+2007-11-18 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/gstbin.c:
+ * gst/gstdebugutils.c:
+ Fix build with --disable-gst-debug. Fixes #497859.
+ Spotted by Sameer Naik.
+
2007-11-17 Stefan Kost <ensonic@users.sf.net>
* gst/gstevent.c:
gst_bin_get_state_func (GstElement * element, GstState * state,
GstState * pending, GstClockTime timeout)
{
- GstBin *bin = GST_BIN (element);
GstStateChangeReturn ret;
- GST_CAT_INFO_OBJECT (GST_CAT_STATES, bin, "getting state");
+ GST_CAT_INFO_OBJECT (GST_CAT_STATES, element, "getting state");
ret = parent_class->get_state (element, state, pending, timeout);
* Boston, MA 02111-1307, USA.
*/
-#ifndef GST_DISABLE_GST_DEBUG
-
#include "gst_private.h"
+#include "gstdebugutils.h"
+
+#ifndef GST_DISABLE_GST_DEBUG
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "gstinfo.h"
-#include "gstdebugutils.h"
#include "gstbin.h"
#include "gstobject.h"
#include "gstghostpad.h"