Skip to content

Commit 725cab8

Browse files
committed
CI Linux FFmpeg: apply SVT-AV1 patch
current FFmpeg version dd2976b9 doesn't compile with SVT-AV1 commit 9485b939 with following error: ``` libavcodec/libsvtav1.c:240:14: error: ‘EbSvtAv1EncConfiguration’ has no member named ‘enable_adaptive_quantization’ 240 | param->enable_adaptive_quantization = 0; ```
1 parent 696fd4d commit 725cab8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/Linux/install_ffmpeg.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ install_svt() {
5858
cmake --build . --parallel && sudo cmake --install . || exit 1 )
5959
# libsvtav1 in FFmpeg upstream, for SVT-HEVC now our custom patch in ffmpeg-patches
6060
# if patch apply fails, try increasing $FFMPEG_GIT_DEPTH
61+
git am -3 SVT-AV1/.gitlab/workflows/linux/\
62+
0001-avcodec-libsvtav1-rename-aq_mode-for-v4.0.0.patch
6163
git am -3 SVT-VP9/ffmpeg_plugin/master-*.patch
6264
# TOD TOREMOVE when not needed
6365
sed 's/\* avctx->ticks_per_frame//' libavcodec/libsvt_vp9.c >fix

0 commit comments

Comments
 (0)