projects
/
profile
/
ivi
/
gstreamer-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e0c97a
)
tests: allow GLX output, if available and selected.
author
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Mon, 23 Jul 2012 13:20:23 +0000
(15:20 +0200)
committer
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Tue, 24 Jul 2012 13:57:57 +0000
(15:57 +0200)
tests/output.c
patch
|
blob
|
history
diff --git
a/tests/output.c
b/tests/output.c
index
dd76bc7
..
583347c
100644
(file)
--- a/
tests/output.c
+++ b/
tests/output.c
@@
-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;
@@
-37,6
+41,12
@@
static const VideoOutputInfo g_video_outputs[] = {
gst_vaapi_window_x11_new
},
#endif
+#if USE_GLX
+ { "glx",
+ gst_vaapi_display_glx_new,
+ gst_vaapi_window_glx_new
+ },
+#endif
{ NULL, }
};