From f4a7caa418d3a283392b1142fe9863ae870ce3b8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 29 Jun 2003 19:46:13 +0000 Subject: compatibility fix for new GST_DEBUG stuff. Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately. --- ext/shout/gstshout.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/shout') diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c index 1b8b3697..a17c0c8c 100644 --- a/ext/shout/gstshout.c +++ b/ext/shout/gstshout.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "gstshout.h" /* elementfactory information */ @@ -393,7 +396,7 @@ gst_icecastsend_change_state (GstElement *element) icecastsend = GST_ICECASTSEND(element); - GST_DEBUG (0,"state pending %d", GST_STATE_PENDING (element)); + GST_DEBUG ("state pending %d", GST_STATE_PENDING (element)); /* if going down into NULL state, close the file if it's open */ switch (GST_STATE_TRANSITION (element)) { -- cgit v1.2.1