summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-07-02 12:29:32 +0300
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-07-02 12:37:27 +0300
commit157ce777277e053a4beaca09d2e0ddc7a46801a2 (patch)
tree3a0cd2d74bd754eabd4a0d3ff357889ca13de3cb
parentf728b9d67ce1a6864ccf10b65bb4f703d9bbfc7c (diff)
tests: Fix compilation while enabling egl as the only renderer in build
Include missing header files gstvaapidisplay_egl.h and gstvaapiwindow_egl.h.
-rw-r--r--tests/test-display.c3
-rw-r--r--tests/test-windows.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-display.c b/tests/test-display.c
index 22f5859a..2ab97dc9 100644
--- a/tests/test-display.c
+++ b/tests/test-display.c
@@ -42,6 +42,9 @@
#if USE_WAYLAND
# include <gst/vaapi/gstvaapidisplay_wayland.h>
#endif
+#if USE_EGL
+# include <gst/vaapi/gstvaapidisplay_egl.h>
+#endif
#ifdef HAVE_VA_VA_GLX_H
# include <va/va_glx.h>
diff --git a/tests/test-windows.c b/tests/test-windows.c
index c050cd24..e90f4c0e 100644
--- a/tests/test-windows.c
+++ b/tests/test-windows.c
@@ -37,6 +37,10 @@
# include <gst/vaapi/gstvaapidisplay_wayland.h>
# include <gst/vaapi/gstvaapiwindow_wayland.h>
#endif
+#if USE_EGL
+# include <gst/vaapi/gstvaapidisplay_egl.h>
+# include <gst/vaapi/gstvaapiwindow_egl.h>
+#endif
#include "image.h"
static inline void