ci: fix the vcpkg ffmpeg manifest feature and pin

vcpkg resolves the ffmpeg dependency before anything builds and rejects
the manifest because the pinned 8.1.2#3 port has no `png` feature
("ffmpeg@8.1.2#3 does not have required feature png needed by oak"),
so every desktop job died in "Install dependencies (vcpkg manifest)"
and never reached the build or test steps.

PNG decoding in FFmpeg needs zlib (png_decoder_deps=zlib); libpng is
only the encoder backend and this port never enables it. Request
`zlib` instead.

Also point the stale comments/docs at the actual pin: the override is
8.1.2#3 (matching the ffmpeg-next 8.x binding after the 9.0.0 binding
was found broken upstream), not 9.0.1#1.
This commit is contained in:
2026-09-24 12:43:29 +08:00
parent eddfeb59b4
commit 7a9e11b729
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
# vcpkg (manifest mode) + caches
# ------------------------------------------------------------------
# The runner has no vcpkg preinstalled; bootstrap a fresh clone.
# The manifest at the repo root pins the dependency set (FFmpeg 9.0.1
# The manifest at the repo root pins the dependency set (FFmpeg 8.1.2
# via `overrides`, everything else via `builtin-baseline`) and the
# resolved tree lands in vcpkg_installed/.
- name: Bootstrap vcpkg