install vaapi dependencies before vcpkg installs ffmpeg (#10035)

linux vaapi encoding/decoding lost since installing ffmpeg with
vcpkg

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-11-24 21:07:03 +08:00 committed by GitHub
parent 32a3bcdc4f
commit 152d0ce74b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1441,6 +1441,7 @@ jobs:
- name: Install vcpkg dependencies
if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true'
run: |
sudo apt install -y libva-dev libvdpau-dev
if ! $VCPKG_ROOT/vcpkg \
install \
--triplet ${{ matrix.job.vcpkg-triplet }} \