summaryrefslogtreecommitdiff
path: root/ext/audiofile/gstafsrc.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-06-29 19:46:13 +0000
committerBenjamin Otte <otte@gnome.org>2003-06-29 19:46:13 +0000
commitf4a7caa418d3a283392b1142fe9863ae870ce3b8 (patch)
tree8d29cf94dd85acfa8cc58f5761d28a24eae14223 /ext/audiofile/gstafsrc.c
parent813b3a530e66bebe1153c8b10abc4cafc99ac772 (diff)
downloadgstreamer-plugins-bad-f4a7caa418d3a283392b1142fe9863ae870ce3b8.tar.gz
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 'ext/audiofile/gstafsrc.c')
-rw-r--r--ext/audiofile/gstafsrc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c
index ddc059cec..cf2ebb568 100644
--- a/ext/audiofile/gstafsrc.c
+++ b/ext/audiofile/gstafsrc.c
@@ -21,6 +21,9 @@
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <gst/gst.h>
#include <gst/audio/audio.h>
#include "gstafsrc.h"
@@ -326,12 +329,12 @@ gst_afsrc_open_file (GstAFSrc *src)
break;
case AF_SAMPFMT_FLOAT:
case AF_SAMPFMT_DOUBLE:
- GST_DEBUG (GST_CAT_PLUGIN_INFO,
+ GST_DEBUG (
"ERROR: float data not supported yet !\n");
}
src->rate = (guint) afGetRate (src->file, AF_DEFAULT_TRACK);
src->width = sampleWidth;
- GST_DEBUG (GST_CAT_PLUGIN_INFO,
+ GST_DEBUG (
"input file: %d channels, %d width, %d rate, signed %s\n",
src->channels, src->width, src->rate,
src->is_signed ? "yes" : "no");