From e9112cd3f40166e1913fce2c68da41f3f11cf8ce Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Mon, 23 Jul 2012 15:20:23 +0200 Subject: [PATCH] tests: allow GLX output, if available and selected. --- tests/output.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/output.c b/tests/output.c index dd76bc7391..583347c8af 100644 --- a/tests/output.c +++ b/tests/output.c @@ -26,6 +26,10 @@ # include # include #endif +#if USE_GLX +# include +# include +#endif #include "output.h" static const VideoOutputInfo *g_video_output; @@ -36,6 +40,12 @@ static const VideoOutputInfo g_video_outputs[] = { gst_vaapi_display_x11_new, gst_vaapi_window_x11_new }, +#endif +#if USE_GLX + { "glx", + gst_vaapi_display_glx_new, + gst_vaapi_window_glx_new + }, #endif { NULL, } };