mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
[414/906] glbumper/gldifferencematte/gloverlay: libpng 1.4.x compatible
Fix bug #608643
This commit is contained in:
parent
24344a9ab9
commit
9a49a81c22
3 changed files with 15 additions and 0 deletions
|
@ -41,6 +41,11 @@
|
|||
#include <png.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
|
||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
|
||||
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
#include "gstgldifferencematte.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
|
||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
|
||||
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
#include "gstgloverlay.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
|
||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
|
||||
|
||||
|
|
Loading…
Reference in a new issue