diff options
author | gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969> | 2010-03-30 13:01:34 +0000 |
---|---|---|
committer | gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969> | 2010-03-30 13:01:34 +0000 |
commit | 28f73fb582b5bd1913dc97fb019fa11035e44c2b (patch) | |
tree | 534e13546e23c578f7523cb1455ae1e28e586819 /tests | |
parent | 502dec7c1cd6533dec99452a7422a3dc2f351259 (diff) |
Enable build without VA/GLX extensions. i.e. fallback to TFP + FBO.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-display.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-display.c b/tests/test-display.c index 87ca968a..54b136ec 100644 --- a/tests/test-display.c +++ b/tests/test-display.c @@ -26,6 +26,12 @@ #include <gst/vaapi/gstvaapidisplay_glx.h> #endif +#if USE_VAAPI_GLX +# include <va/va_glx.h> +#else +# define vaGetDisplayGLX(dpy) vaGetDisplay(dpy) +#endif + static void print_caps(GstCaps *caps, const gchar *name) { |