From 90da904f1e435812ce245928b80cfd325785ff37 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 29 Jun 2003 19:46:12 +0000 Subject: 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. --- ext/libpng/gstpngenc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/libpng') diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c index 93845050..9cd39cc3 100644 --- a/ext/libpng/gstpngenc.c +++ b/ext/libpng/gstpngenc.c @@ -16,6 +16,9 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include #include "gstpngenc.h" @@ -198,7 +201,7 @@ gst_pngenc_chain (GstPad *pad, GstBuffer *buf) /* non-0 return is from a longjmp inside of libpng */ if (setjmp (pngenc->png_struct_ptr->jmpbuf) != 0) { - GST_DEBUG (GST_CAT_PLUGIN_INFO, "returning from longjmp"); + GST_DEBUG ("returning from longjmp"); png_destroy_write_struct (&pngenc->png_struct_ptr, &pngenc->png_info_ptr); return; } -- cgit