error: "HAVE_PNG" is not defined, evaluates to 0 [-Werror=undef]
* Boston, MA 02110-1301, USA.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
#include "gstglmosaic.h"
#endif
-#if HAVE_PNG
+#ifdef HAVE_PNG
#include "gstgldifferencematte.h"
/* #include "gstglbumper.h" */
#endif /* HAVE_PNG */
return FALSE;
}
#endif
-#if HAVE_PNG
+#ifdef HAVE_PNG
if (!gst_element_register (plugin, "gldifferencematte",
GST_RANK_NONE, gst_gl_differencematte_get_type ())) {
return FALSE;
* specified and must only be activated in a single thread.
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
* either be a user visible window (onscreen) or hidden (offscreen).
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
GST_END_TEST
#ifdef HAVE_PNG
-#if HAVE_JPEG
+#ifdef HAVE_JPEG
GST_START_TEST (test_gloverlay)
{
const gchar *s;
tcase_add_test (tc_chain, test_glshader);
tcase_add_test (tc_chain, test_glfilterapp);
#ifdef HAVE_PNG
-#if HAVE_JPEG
+#ifdef HAVE_JPEG
tcase_add_test (tc_chain, test_gloverlay);
#endif
#endif
#ifdef HAVE_PNG
tcase_add_test (tc_chain, test_gldifferencematte);
/* tcase_add_test (tc_chain, test_glbumper);*/
-#if HAVE_JPEG
+#ifdef HAVE_JPEG
#endif /* HAVE_JPEG */
#endif /* HAVE_PNG */
#endif /* GST_GL_HAVE_OPENGL */