diff options
author | Benjamin Otte <otte@gnome.org> | 2003-06-29 19:46:12 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-06-29 19:46:12 +0000 |
commit | 90da904f1e435812ce245928b80cfd325785ff37 (patch) | |
tree | 308c8167f16721bbfe4a047e6d798ade33aa968e /gst/auparse | |
parent | 7519af569b22f502f88b9c80e7ce26522e1e9aad (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/auparse')
-rw-r--r-- | gst/auparse/gstauparse.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c index 269766a2..d9eeb8e0 100644 --- a/gst/auparse/gstauparse.c +++ b/gst/auparse/gstauparse.c @@ -21,6 +21,9 @@ * Zaheer Merali <zaheer@grid9.net */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <stdlib.h> #include <string.h> @@ -182,7 +185,7 @@ gst_auparse_chain (GstPad *pad, GstBuffer *buf) auparse = GST_AUPARSE (gst_pad_get_parent (pad)); - GST_DEBUG (0, "gst_auparse_chain: got buffer in '%s'", + GST_DEBUG ("gst_auparse_chain: got buffer in '%s'", gst_element_get_name (GST_ELEMENT (auparse))); data = GST_BUFFER_DATA (buf); @@ -234,7 +237,7 @@ gst_auparse_chain (GstPad *pad, GstBuffer *buf) g_print ("offset %ld, size %ld, encoding %ld, frequency %ld, channels %ld\n", auparse->offset,auparse->size,auparse->encoding, auparse->frequency,auparse->channels); - GST_DEBUG (0, "offset %ld, size %ld, encoding %ld, frequency %ld, channels %ld", + GST_DEBUG ("offset %ld, size %ld, encoding %ld, frequency %ld, channels %ld", auparse->offset,auparse->size,auparse->encoding, auparse->frequency,auparse->channels); |