mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
tests: allow GLX output, if available and selected.
This commit is contained in:
parent
9e0c97a3d3
commit
e9112cd3f4
1 changed files with 10 additions and 0 deletions
|
@ -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, }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue