[vlc-devel] [PATCH] gl: vaapi: use wayland CFLAGS

Olaf Hering olaf at aepfle.de
Mon Jul 31 09:38:26 CEST 2017


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>
---

See https://github.com/videolan/vlc/pull/60

I am not subscribed to vlc-devel at videolan.org, please CC me on replies.

Thank you.


 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-devel mailing list