[414/906] glbumper/gldifferencematte/gloverlay: libpng 1.4.x compatible

Fix bug #608643
This commit is contained in:
David Hoyt 2010-03-09 01:24:06 +01:00 committed by Matthew Waters
parent 24344a9ab9
commit 9a49a81c22
3 changed files with 15 additions and 0 deletions

View file

@ -41,6 +41,11 @@
#include <png.h> #include <png.h>
#include "gstglbumper.h" #include "gstglbumper.h"
#if PNG_LIBPNG_VER >= 10400
#define int_p_NULL NULL
#define png_infopp_NULL NULL
#endif
#define GST_CAT_DEFAULT gst_gl_bumper_debug #define GST_CAT_DEFAULT gst_gl_bumper_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);

View file

@ -41,6 +41,11 @@
#include "gstgldifferencematte.h" #include "gstgldifferencematte.h"
#include <gstgleffectssources.h> #include <gstgleffectssources.h>
#if PNG_LIBPNG_VER >= 10400
#define int_p_NULL NULL
#define png_infopp_NULL NULL
#endif
#define GST_CAT_DEFAULT gst_gl_differencematte_debug #define GST_CAT_DEFAULT gst_gl_differencematte_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);

View file

@ -41,6 +41,11 @@
#include "gstgloverlay.h" #include "gstgloverlay.h"
#include <gstgleffectssources.h> #include <gstgleffectssources.h>
#if PNG_LIBPNG_VER >= 10400
#define int_p_NULL NULL
#define png_infopp_NULL NULL
#endif
#define GST_CAT_DEFAULT gst_gl_overlay_debug #define GST_CAT_DEFAULT gst_gl_overlay_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);