|
@@ -47,8 +47,7 @@ else
|
|
|
MPV_CONF_OPTS += --disable-alsa
|
|
|
endif
|
|
|
|
|
|
-# GBM support is provided by mesa3d when EGL=y
|
|
|
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
|
|
+ifeq ($(BR2_PACKAGE_MESA3D_GBM),y)
|
|
|
MPV_CONF_OPTS += --enable-gbm
|
|
|
MPV_DEPENDENCIES += mesa3d
|
|
|
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
|
@@ -185,7 +184,7 @@ endif
|
|
|
ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MPV_SUPPORTS_VAAPI),yy)
|
|
|
MPV_CONF_OPTS += --enable-vaapi
|
|
|
MPV_DEPENDENCIES += libva
|
|
|
-ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),yy)
|
|
|
+ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_MESA3D_GBM),yy)
|
|
|
MPV_CONF_OPTS += --enable-vaapi-drm
|
|
|
else
|
|
|
MPV_CONF_OPTS += --disable-vaapi-drm
|