Skip to content

Commit

Permalink
enable yadif_videotoolbox filter need link Metal framework
Browse files Browse the repository at this point in the history
  • Loading branch information
debugly committed Jul 26, 2024
1 parent b6fec00 commit 780df2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apple/ffmpeg-kit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export CXXFLAGS=$(get_cxxflags ${LIB_NAME})
# export PKG_CONFIG_LIBDIR="${INSTALL_PKG_CONFIG_DIR}"

# export LDFLAGS="$(get_ldflags ${LIB_NAME}) -L${LIB_INSTALL_BASE}/ffmpeg/lib -framework Foundation -framework CoreVideo"
export LDFLAGS="$(get_ldflags ${LIB_NAME}) -L${LIB_INSTALL_BASE}/ffmpeg/lib -lm -liconv -lbz2 -lz -framework Foundation -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo $(pkg-config --libs openssl,opus,dav1d,dvdread)"
export LDFLAGS="$(get_ldflags ${LIB_NAME}) -L${LIB_INSTALL_BASE}/ffmpeg/lib -lm -liconv -lbz2 -lz -framework Metal -framework Foundation -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo $(pkg-config --libs openssl,opus,dav1d,dvdread)"

cd "${BASEDIR}"/apple 1>>"${BASEDIR}"/build.log 2>&1 || return 1

Expand Down

0 comments on commit 780df2f

Please sign in to comment.