compatibility fix for new GST_DEBUG stuff.
authorBenjamin Otte <otte@gnome.org>
Sun, 29 Jun 2003 19:46:13 +0000 (19:46 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 2 Jan 2011 14:30:03 +0000 (14:30 +0000)
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.

ext/jack/gstjack.c
ext/jack/gstjackbin.c

index 8a3357d..68d0775 100644 (file)
@@ -17,6 +17,9 @@
     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <stdlib.h>
 #include <string.h>
 #include "gstjack.h"
index 76c7e07..959f586 100644 (file)
@@ -80,7 +80,7 @@ gst_jack_bin_class_init(GstJackBinClass *klass)
 static void
 gst_jack_bin_init(GstJackBin *this)
 {
-    GST_DEBUG (GST_CAT_THREAD, "initializing jack bin");
+    GST_DEBUG ("initializing jack bin");
     
     /* jack bins are managing bins and iterate themselves */
     GST_FLAG_SET (this, GST_BIN_FLAG_MANAGER);