In gstvaapipluginbase.c we are using the macro USE_GST_GL_HELPERS to guard the
code related with GstGL. Nonetheless, in gstvaapipluginbase.h we are using
HAVE_GST_GL_GL_H macro in order to include the GstGLContext's header.
We should use only one to be homogeneous. This patch sets USE_GST_GL_HELPERS
in the header file.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
#include <gst/video/gstvideosink.h>
#include <gst/vaapi/gstvaapidisplay.h>
-#ifdef HAVE_GST_GL_GL_H
+#ifdef USE_GST_GL_HELPERS
# include <gst/gl/gstglcontext.h>
#endif