|
@@ -178,17 +178,16 @@ MPV_CONF_OPTS += --disable-rpi
|
|
endif
|
|
endif
|
|
|
|
|
|
# va-api support
|
|
# 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)
|
|
|
|
-ifneq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_XORG7),)
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MPV_SUPPORTS_VAAPI),yy)
|
|
MPV_CONF_OPTS += --enable-vaapi
|
|
MPV_CONF_OPTS += --enable-vaapi
|
|
MPV_DEPENDENCIES += libva
|
|
MPV_DEPENDENCIES += libva
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
|
|
|
+MPV_CONF_OPTS += --enable-vaapi-drm
|
|
else
|
|
else
|
|
-MPV_CONF_OPTS += --disable-vaapi
|
|
|
|
|
|
+MPV_CONF_OPTS += --disable-vaapi-drm
|
|
endif
|
|
endif
|
|
else
|
|
else
|
|
-MPV_CONF_OPTS += --disable-vaapi
|
|
|
|
|
|
+MPV_CONF_OPTS += --disable-vaapi --disable-vaapi-drm
|
|
endif
|
|
endif
|
|
|
|
|
|
# wayland support
|
|
# wayland support
|