summaryrefslogtreecommitdiffstats
path: root/gst/goom
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-06-29 19:46:12 +0000
committerBenjamin Otte <otte@gnome.org>2003-06-29 19:46:12 +0000
commit90da904f1e435812ce245928b80cfd325785ff37 (patch)
tree308c8167f16721bbfe4a047e6d798ade33aa968e /gst/goom
parent7519af569b22f502f88b9c80e7ce26522e1e9aad (diff)
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.
Diffstat (limited to 'gst/goom')
-rw-r--r--gst/goom/gstgoom.c9
1 files changed, 6 insertions, 3 deletions
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 <config.h>
#include <gst/gst.h>
@@ -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