diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-01-29 15:51:49 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-02-02 16:17:43 +0100 |
commit | d83ffd123151d3a1f1858fcf0535f47c2b00b035 (patch) | |
tree | 6a596d23f6223193e5551d0e89e6629e88f21e57 /gst | |
parent | 2a80f4b9090a0ecfff74dc341a09b9bbb5db644c (diff) | |
download | gstreamer-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>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/vaapi/gstvaapipluginbase.h | 2 |
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 |