PKG_CHECK_MODULES(GST_ALLOCATORS, gstreamer-allocators-1.0,
HAVE_GST_ALLOCATORS=yes, )
+GST_GL_HAVE_DMABUF=0
if test "x$HAVE_DRM_FOURCC_HEADER" = "xyes" -a \
"x$HAVE_GST_ALLOCATORS" = "xyes" -a \
"x$HAVE_EGL" = "xyes"; then
- AC_DEFINE(GST_GL_HAVE_DMABUF, [1] , [DMABUF available for gl plugins])
+ GST_GL_HAVE_DMABUF=1
fi
dnl check if we can include both GL and GLES2 at the same time
#define GST_GL_HAVE_PLATFORM_EAGL $GST_GL_HAVE_PLATFORM_EAGL
"
+GL_CONFIG_DEFINES="$GL_CONFIG_DEFINES
+#define GST_GL_HAVE_DMABUF $GST_GL_HAVE_DMABUF
+"
+
dnl Check for no platforms/window systems
if test "x$GL_APIS" = "x"; then
AC_MSG_WARN([Either OpenGL or OpenGL|ES is required for OpenGL support])