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/festival | |
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/festival')
-rw-r--r-- | gst/festival/gstfestival.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index d0470379..728b4556 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -60,6 +60,9 @@ /* */ /*=======================================================================*/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -240,7 +243,7 @@ gst_festival_chain (GstPad *pad, GstBuffer *buf) g_return_if_fail (GST_BUFFER_DATA (buf) != NULL); festival = GST_FESTIVAL (gst_pad_get_parent (pad)); - GST_DEBUG (0, "gst_festival_chain: got buffer in '%s'", + GST_DEBUG ("gst_festival_chain: got buffer in '%s'", gst_object_get_name (GST_OBJECT (festival))); fd = fdopen(dup(festival->info->server_fd),"wb"); |