vaapiplugin: fix build when compiling without GLX.
authorYan Yin <yan.yin@intel.com>
Mon, 25 Jun 2012 08:07:55 +0000 (16:07 +0800)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 Jun 2012 09:07:44 +0000 (11:07 +0200)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapipluginutil.c

index 782304b..168ae1f 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <string.h>
 
-#ifdef USE_VAAPI_GLX
+#if USE_VAAPI_GLX
 #include <gst/vaapi/gstvaapidisplay_glx.h>
 #else
 #include <gst/vaapi/gstvaapidisplay_x11.h>