plugin: fix macro processor check

Instead of #ifdef it should be used #if becasuse USE_GST_GL_HELPERS is always
defined in config.h, but it would be 0 or 1 depending on the configure output.

https://bugzilla.gnome.org/show_bug.cgi?id=765702
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-04-29 13:11:48 +02:00
parent 3fcfd40fb5
commit 4f30d28ff0

View file

@ -31,7 +31,7 @@
#include <gst/video/gstvideosink.h>
#include <gst/vaapi/gstvaapidisplay.h>
#ifdef USE_GST_GL_HELPERS
#if USE_GST_GL_HELPERS
# include <gst/gl/gstglcontext.h>
#endif