From 90da904f1e435812ce245928b80cfd325785ff37 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 29 Jun 2003 19:46:12 +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. --- gst/goom/gstgoom.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gst/goom') diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 36929f03..72757990 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include @@ -297,7 +300,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin) goom = GST_GOOM (gst_pad_get_parent (pad)); - GST_DEBUG (0, "GOOM: chainfunc called"); + GST_DEBUG ("GOOM: chainfunc called"); if (GST_IS_EVENT (bufin)) { GstEvent *event = GST_EVENT (bufin); @@ -335,7 +338,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin) samples_in = GST_BUFFER_SIZE (bufin) / (sizeof (gint16) * goom->channels); - GST_DEBUG (0, "input buffer has %d samples", samples_in); + GST_DEBUG ("input buffer has %d samples", samples_in); if (GST_BUFFER_TIMESTAMP (bufin) < goom->next_time || samples_in < 512) { goto done; @@ -368,7 +371,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin) done: gst_buffer_unref (bufin); - GST_DEBUG (0, "GOOM: exiting chainfunc"); + GST_DEBUG ("GOOM: exiting chainfunc"); } static GstElementStateReturn -- cgit