aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 10:29:07 -0500
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 10:29:07 -0500
commit959973a76abaa5444b4b300c37b6d8245ac89396 (patch)
treef9dc0a1c2b49d860e37b4272b009160c50b0bbaf /externals
parent6f33896d8cadb81b5c9dbb01826ad1be84162942 (diff)
externals: FFmpeg with AV1 on Windows and Linux x86_64
crueter-ci's FFmpeg packages have no AV1 decoder, so the AV1 movies of Switch 2 titles (Fire Emblem: Fortune's Weave) could not play. Windows (MSVC) and Linux x86_64 builds now use Takoroka/ffmpeg-av1 9.0.2-av1-1: the same FFmpeg commit, patch and configure flags as crueter-ci's 9.0.2-1790726865-946fcce07b, plus libdav1d 1.5.4 merged into avcodec. Other platforms keep crueter-ci's packages.
Diffstat (limited to 'externals')
-rw-r--r--externals/ffmpeg/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/externals/ffmpeg/CMakeLists.txt b/externals/ffmpeg/CMakeLists.txt
index f1bf099c10..890de4303c 100644
--- a/externals/ffmpeg/CMakeLists.txt
+++ b/externals/ffmpeg/CMakeLists.txt
@@ -179,7 +179,13 @@ elseif (MANAGARM)
endif()
if (YUZU_USE_BUNDLED_FFMPEG)
- AddJsonPackage(ffmpeg-ci)
+ # Windows (MSVC) and Linux x86_64 get the same FFmpeg with libdav1d, for Switch 2 titles' AV1
+ # movies; crueter-ci's packages, used elsewhere, have no AV1 decoder.
+ if ((MSVC OR LINUX) AND CPMUTIL_AMD64)
+ AddJsonPackage(ffmpeg-ci-av1)
+ else()
+ AddJsonPackage(ffmpeg-ci)
+ endif()
set(FFmpeg_INCLUDE_DIR
"${FFmpeg_SOURCE_DIR}/include;${FFmpeg_HWACCEL_INCLUDE_DIRS}"