[vlc-devel] [PATCH] vlc_vaapi: find right location for libva headers

daniel.charles at intel.com daniel.charles at intel.com
Thu Apr 4 00:24:38 CEST 2019


From: Daniel Charles <daniel.charles at intel.com>

building vlc_vaapi when libva is not installed in a
previously include path, it won't be able to find va headers.

Adding proper CFLAGS when compiling x11 and drm plugins

Signed-off-by: Daniel Charles <daniel.charles at intel.com>
---
 modules/hw/vaapi/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/hw/vaapi/Makefile.am b/modules/hw/vaapi/Makefile.am
index dc47f9badf..0e3a512ac0 100644
--- a/modules/hw/vaapi/Makefile.am
+++ b/modules/hw/vaapi/Makefile.am
@@ -6,11 +6,11 @@ libdecdev_vaapi_wl_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS) -DHAVE_VA_WL $(L
 libdecdev_vaapi_wl_plugin_la_LIBADD = $(LIBVA_LIBS) $(LIBVA_WL_LIBS)
 
 libdecdev_vaapi_x11_plugin_la_SOURCES = $(libdecdev_vaapi_wl_plugin_la_SOURCES)
-libdecdev_vaapi_x11_plugin_la_CFLAGS = $(AM_CFLAGS) -DHAVE_VA_X11
+libdecdev_vaapi_x11_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBVA_CFLAGS) -DHAVE_VA_X11
 libdecdev_vaapi_x11_plugin_la_LIBADD = $(LIBVA_LIBS) $(LIBVA_X11_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
 
 libdecdev_vaapi_drm_plugin_la_SOURCES = $(libdecdev_vaapi_wl_plugin_la_SOURCES)
-libdecdev_vaapi_drm_plugin_la_CFLAGS = $(AM_CFLAGS) -DHAVE_VA_DRM
+libdecdev_vaapi_drm_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBVA_CFLAGS) -DHAVE_VA_DRM
 libdecdev_vaapi_drm_plugin_la_LIBADD = $(LIBVA_LIBS) $(LIBVA_DRM_LIBS)
 
 libvaapi_filters_plugin_la_SOURCES = hw/vaapi/filters.c hw/vaapi/filters.h \
-- 
2.20.1



More information about the vlc-devel mailing list