plugin: fix macro processor check
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 29 Apr 2016 11:11:48 +0000 (13:11 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 29 Apr 2016 11:15:01 +0000 (13:15 +0200)
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

gst/vaapi/gstvaapipluginbase.h

index 0694bf7..2e53892 100644 (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