plugins: use the same pre-processor macro

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>
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-01-29 15:51:49 +01:00
parent 2a80f4b909
commit d83ffd1231

View file

@ -31,7 +31,7 @@
#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