Enable VAAPI in build-ffmpeg.sh (#215)

This commit is contained in:
Florian Märkl 2020-04-27 18:16:32 +02:00 committed by GitHub
commit 4e301b9885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,6 @@ TAG=n4.2
git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 -b $TAG && cd ffmpeg || exit 1
./configure --disable-all --enable-avcodec --enable-decoder=h264 --prefix="$ROOT/ffmpeg-prefix" "$@" || exit 1
./configure --disable-all --enable-avcodec --enable-decoder=h264 --enable-hwaccel=h264_vaapi --prefix="$ROOT/ffmpeg-prefix" "$@" || exit 1
make -j4 || exit 1
make install || exit 1