Merge pull request #2172 from fewtarius/dev

Fix ffmpeg build on RK3588.
This commit is contained in:
fewtarius 2023-10-11 17:34:20 -04:00 committed by GitHub
commit a74378d941
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,11 +14,6 @@ PKG_PATCH_DIRS="kodi libreelec"
PKG_PATCH_DIRS+=" v4l2-request v4l2-drmprime"
case "${PROJECT}" in
Rockchip)
PKG_PATCH_DIRS+=" vf-deinterlace-v4l2m2m"
esac
post_unpack() {
# Fix FFmpeg version
if [ "${PROJECT}" = "Amlogic" ]; then
@ -37,6 +32,13 @@ case ${DEVICE} in
RK3588)
V4L2_SUPPORT=no
;;
*)
case ${PROJECT} in
Rockchip)
PKG_PATCH_DIRS+=" vf-deinterlace-v4l2m2m"
;;
esac
;;
esac
if [ "${V4L2_SUPPORT}" = "yes" ]; then