meson: Add all, all_free (default) options for video-codecs option.

- Adds new 'all' value to the video-codecs option
- Adds 'all_free' value to video-codecs and sets
   it as default value for non patent-encumbered
   codecs, restoring the behavior for these codecs
   before existing as options in commit 7b22dd8bfd

Fixes: 7b22dd8bfd ("meson: add vp9 and av1 codec support options")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26320>
This commit is contained in:
Sil Vilerino
2023-11-21 11:08:15 -05:00
committed by Marge Bot
parent e126e82c79
commit d0c3556011
4 changed files with 22 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ meson setup _build \
-D gallium-opencl=disabled \
-D gallium-drivers=${GALLIUM_DRIVERS:-[]} \
-D vulkan-drivers=${VULKAN_DRIVERS:-[]} \
-D video-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec,av1dec,av1enc,vp9dec \
-D video-codecs=all \
-D werror=true \
${EXTRA_OPTION}
cd _build