tests: Fix compilation while enabling egl as the only renderer in build

Include missing header files gstvaapidisplay_egl.h and gstvaapiwindow_egl.h.
This commit is contained in:
Sreerenj Balachandran 2015-07-02 12:29:32 +03:00
parent f728b9d67c
commit 157ce77727
2 changed files with 7 additions and 0 deletions

View file

@ -42,6 +42,9 @@
#if USE_WAYLAND #if USE_WAYLAND
# include <gst/vaapi/gstvaapidisplay_wayland.h> # include <gst/vaapi/gstvaapidisplay_wayland.h>
#endif #endif
#if USE_EGL
# include <gst/vaapi/gstvaapidisplay_egl.h>
#endif
#ifdef HAVE_VA_VA_GLX_H #ifdef HAVE_VA_VA_GLX_H
# include <va/va_glx.h> # include <va/va_glx.h>

View file

@ -37,6 +37,10 @@
# include <gst/vaapi/gstvaapidisplay_wayland.h> # include <gst/vaapi/gstvaapidisplay_wayland.h>
# include <gst/vaapi/gstvaapiwindow_wayland.h> # include <gst/vaapi/gstvaapiwindow_wayland.h>
#endif #endif
#if USE_EGL
# include <gst/vaapi/gstvaapidisplay_egl.h>
# include <gst/vaapi/gstvaapiwindow_egl.h>
#endif
#include "image.h" #include "image.h"
static inline void static inline void