tests: allow GLX output, if available and selected.

This commit is contained in:
Gwenole Beauchesne 2012-07-23 15:20:23 +02:00
parent 9e0c97a3d3
commit e9112cd3f4

View file

@ -26,6 +26,10 @@
# include <gst/vaapi/gstvaapidisplay_x11.h>
# include <gst/vaapi/gstvaapiwindow_x11.h>
#endif
#if USE_GLX
# include <gst/vaapi/gstvaapidisplay_glx.h>
# include <gst/vaapi/gstvaapiwindow_glx.h>
#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, }
};