[vlc-commits] gl: vaapi: use wayland CFLAGS

Olaf Hering git at videolan.org
Thu Aug 3 10:28:37 CEST 2017


vlc | branch: master | Olaf Hering <olaf at aepfle.de> | Mon Jul 31 09:38:26 2017 +0200| [ad363d3081122bd716b3486cec0f3bdac3e903b2] | committer: Jean-Baptiste Kempf

gl: vaapi: use wayland CFLAGS

Use the CFLAGS from wayland-client.pc because the header files are not
in the standard directories. In openSUSE they are found in
/usr/include/wayland. Fixes commit 14ba7d2d7e ("gl: vaapi: add DRM
support")

Signed-off-by: Olaf Hering <olaf at aepfle.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad363d3081122bd716b3486cec0f3bdac3e903b2
---

 modules/video_output/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 094a7f5025..404cbc1427 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -35,7 +35,7 @@ OPENGL_COMMONCFLAGS += -DVLCGL_CONV_VA
 if HAVE_WAYLAND_EGL
 if HAVE_VAAPI_WL
 OPENGL_COMMONLIBS += $(LIBVA_WL_LIBS)
-OPENGL_COMMONCFLAGS += -DHAVE_VA_WL
+OPENGL_COMMONCFLAGS += -DHAVE_VA_WL $(LIBVA_WL_CFLAGS)
 endif
 endif
 if HAVE_VAAPI_X11



More information about the vlc-commits mailing list