Merge pull request #7280 from SupervisedThinking/up_mesa_codecs

mesa: enable video-codecs
This commit is contained in:
mglae 2022-12-27 11:36:41 +01:00 committed by GitHub
commit 55c618edb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,8 @@ fi
if [ "${VAAPI_SUPPORT}" = "yes" ] && listcontains "${GRAPHIC_DRIVERS}" "(r600|radeonsi)"; then
PKG_DEPENDS_TARGET+=" libva"
PKG_MESON_OPTS_TARGET+=" -Dgallium-va=enabled"
PKG_MESON_OPTS_TARGET+=" -Dgallium-va=enabled \
-Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc"
else
PKG_MESON_OPTS_TARGET+=" -Dgallium-va=disabled"
fi