diff options
author | Benjamin Otte <otte@gnome.org> | 2003-06-29 19:46:13 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-06-29 19:46:13 +0000 |
commit | f4a7caa418d3a283392b1142fe9863ae870ce3b8 (patch) | |
tree | 8d29cf94dd85acfa8cc58f5761d28a24eae14223 /gst/mixmatrix | |
parent | 813b3a530e66bebe1153c8b10abc4cafc99ac772 (diff) | |
download | gst-plugins-bad-f4a7caa418d3a283392b1142fe9863ae870ce3b8.tar.gz gst-plugins-bad-f4a7caa418d3a283392b1142fe9863ae870ce3b8.tar.bz2 gst-plugins-bad-f4a7caa418d3a283392b1142fe9863ae870ce3b8.zip |
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/mixmatrix')
-rw-r--r-- | gst/mixmatrix/mixmatrix.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index 9d76cc76..bf9e9c90 100644 --- a/gst/mixmatrix/mixmatrix.c +++ b/gst/mixmatrix/mixmatrix.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <config.h> #include <gst/gst.h> #include <gst/bytestream/bytestream.h> @@ -176,14 +179,14 @@ mixmatrix_alloc_matrix (int x,int y) { gfloat **matrix; int i; - GST_DEBUG(0,"mixmatrix: allocating a %dx%d matrix of floats\n",x,y); + GST_DEBUG ("mixmatrix: allocating a %dx%d matrix of floats\n",x,y); matrix = g_new(gfloat *,x); - GST_DEBUG(0,"mixmatrix: %p: ",matrix); + GST_DEBUG ("mixmatrix: %p: ",matrix); for (i=0;i<x;i++) { matrix[i] = g_new(gfloat,y); - GST_DEBUG(0,"%p, ",matrix[i]); + GST_DEBUG ("%p, ",matrix[i]); } - GST_DEBUG(0,"\n"); + GST_DEBUG ("\n"); return matrix; } @@ -237,7 +240,7 @@ mixmatrix_resize(GstMixMatrix *mix, int sinkpads, int srcpads) gfloat **newmatrix; int i; - GST_DEBUG(0,"mixmatrix: resizing matrix!!!!\n"); + GST_DEBUG ("mixmatrix: resizing matrix!!!!\n"); // check the sinkpads list if (sinkresize) { |