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/median | |
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/median')
-rw-r--r-- | gst/median/gstmedian.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/median/gstmedian.c b/gst/median/gstmedian.c index 4260b72b..e1e84b25 100644 --- a/gst/median/gstmedian.c +++ b/gst/median/gstmedian.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> #include <gstmedian.h> @@ -282,7 +285,7 @@ gst_median_chain (GstPad *pad, GstBuffer *buf) data = GST_BUFFER_DATA(buf); size = GST_BUFFER_SIZE(buf); - GST_DEBUG (0,"median: have buffer of %d", GST_BUFFER_SIZE(buf)); + GST_DEBUG ("median: have buffer of %d", GST_BUFFER_SIZE(buf)); outbuf = gst_buffer_new(); GST_BUFFER_DATA(outbuf) = g_malloc(GST_BUFFER_SIZE(buf)); |