mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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:
parent
2a80f4b909
commit
d83ffd1231
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue