diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-07-20 16:37:01 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-07-23 15:18:18 +0200 |
commit | 37bf5a669e3624eeffe755bd11855c822a497336 (patch) | |
tree | fbd3465b2e8fa492911179524f245ad722abf31b /tests/test-display.c | |
parent | 98f860f433a59798817000cbe7b81e2c2cb73af4 (diff) |
tests: simplify build with various display options.
Diffstat (limited to 'tests/test-display.c')
-rw-r--r-- | tests/test-display.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test-display.c b/tests/test-display.c index 302fc316..12f75205 100644 --- a/tests/test-display.c +++ b/tests/test-display.c @@ -19,11 +19,12 @@ * Boston, MA 02110-1301 USA */ +#include "config.h" #include <gst/video/video.h> -#ifdef USE_X11 +#if USE_X11 #include <gst/vaapi/gstvaapidisplay_x11.h> #endif -#ifdef USE_GLX +#if USE_GLX #include <gst/vaapi/gstvaapidisplay_glx.h> #endif @@ -155,7 +156,7 @@ main(int argc, char *argv[]) gst_init(&argc, &argv); -#ifdef USE_X11 +#if USE_X11 g_print("#\n"); g_print("# Create display with gst_vaapi_display_x11_new()\n"); g_print("#\n"); @@ -216,7 +217,7 @@ main(int argc, char *argv[]) g_print("\n"); #endif -#ifdef USE_GLX +#if USE_GLX g_print("#\n"); g_print("# Create display with gst_vaapi_display_glx_new()\n"); g_print("#\n"); |