[Buildroot] [PATCH] mpv: va-api requires egl-drm, wayland and/or x11
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Apr 28 14:42:16 UTC 2016
Hello,
On Thu, 28 Apr 2016 11:33:07 -0300, Gustavo Zacarias wrote:
> # va-api support
> +# This requires one or more of the egl-drm, wayland, x11 backends
> +# For now we support wayland and x11
> ifeq ($(BR2_PACKAGE_LIBVA),y)
> +ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_XLIB_LIBX11),)
> +MPV_CONF_OPTS += --disable-vaapi
> +else
> MPV_CONF_OPTS += --enable-vaapi
> MPV_DEPENDENCIES += libva
> -else
Can we make that positive logic ?
ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_XLIB_LIBX11),y)
enable vaapi
else
disable vaapi
endif
or you have cases where wayland on X is used, so you have both options
set to 'y' and still want the vaapi support ?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list