plugins: use the same pre-processor macro
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 29 Jan 2016 14:51:49 +0000 (15:51 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 2 Feb 2016 15:17:43 +0000 (16:17 +0100)
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>
gst/vaapi/gstvaapipluginbase.h

index 24252e1..27c7491 100644 (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