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

Daniel Charles git at videolan.org
Thu Apr 4 09:46:29 CEST 2019


vlc | branch: master | Daniel Charles <daniel.charles at intel.com> | Wed Apr  3 15:24:38 2019 -0700| [eda85d2264851b7f6e5dc60eeded377a1f047039] | committer: Thomas Guillem

vlc_vaapi: find right location for libva headers

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: Thomas Guillem <thomas at gllm.fr>

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

 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 \



More information about the vlc-commits mailing list