Fix svt_av1 undefined symbol

This commit is contained in:
2025-12-15 14:56:20 +02:00
parent b3ba755574
commit 0a2d138f99
3 changed files with 32 additions and 2 deletions
+9 -1
View File
@@ -2,6 +2,13 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/svt-av1-fix.patch
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
@@ -13,7 +20,8 @@ build() {
-DWITH_FFMPEG_DECODER_PLUGIN=ON \
-DWITH_SvtEnc=ON \
-DWITH_OpenJPEG_DECODER=ON \
-DWITH_GDK_PIXBUF=OFF
-DWITH_GDK_PIXBUF=OFF \
-DWITH_EXAMPLE_HEIF_THUMB=OFF
cmake --build build
}