summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-01-29 15:51:49 +0100
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-02-02 16:17:43 +0100
commitd83ffd123151d3a1f1858fcf0535f47c2b00b035 (patch)
tree6a596d23f6223193e5551d0e89e6629e88f21e57
parent2a80f4b9090a0ecfff74dc341a09b9bbb5db644c (diff)
downloadgst-vaapi-d83ffd123151d3a1f1858fcf0535f47c2b00b035.tar.gz
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>
-rw-r--r--gst/vaapi/gstvaapipluginbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapipluginbase.h b/gst/vaapi/gstvaapipluginbase.h
index 24252e11..27c7491c 100644
--- a/gst/vaapi/gstvaapipluginbase.h
+++ b/gst/vaapi/gstvaapipluginbase.h
@@ -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