1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-28 01:34:40 +00:00
Lakka-LibreELEC/packages/multimedia/ffmpeg/patches/L4T/0041-fix-libreelec-configure.patch
GavinDarkglider 66e50e96b9
Lakka v5.x switch 6 (#1926)
* L4T: Fix/Enable NVV4l2 decoder in libreelec builds.

* L4T: LibreELEC: Allow Kodi to run as root

* L4T: Small Tree Cleanup

* Bluez: Switch: LibreELEC: Fix fast connect on all switch builds, not just lakka.

* L4T: Finish ffmpeg 6.0 patchset

* L4T: Fix building newer libcec for switch

* L4T: switch-bsp: Update dock hotplug to check distro stuff, before integrating CEC and bump version.
2024-01-29 20:49:02 +02:00

26 lines
1.0 KiB
Diff

diff -Naur ffmpeg-6.0/configure ffmpeg-6.0-2/configure
--- ffmpeg-6.0/configure 2023-06-04 21:55:16.653155167 +0200
+++ ffmpeg-6.0-2/configure 2023-06-04 22:01:08.003471635 +0200
@@ -3131,8 +3131,8 @@
qsvvpp_select="qsv"
vaapi_encode_deps="vaapi"
v4l2_m2m_deps="linux_videodev2_h sem_timedwait"
-nvv4l2_deps="libv4l2 pthreads linux_videodev2_h"
-nvv4l2_extralibs="-lnvbuf_utils"
+nvv4l2_deps="pthreads linux_videodev2_h"
+nvv4l2_extralibs="-lnvbuf_utils -lv4l2"
bilateral_cuda_filter_deps="ffnvcodec"
bilateral_cuda_filter_deps_any="cuda_nvcc cuda_llvm"
@@ -7069,9 +7069,7 @@
check_type "ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h" "CUVIDAV1PICPARAMS"
fi
-enabled nvv4l2 && add_ldflags '-L/usr/lib/aarch64-linux-gnu/tegra' \
- && check_headers linux/videodev2.h \
- && require_pkg_config libv4l2 libv4l2 libv4l2.h v4l2_ioctl
+enabled nvv4l2 && add_ldflags "-L/usr/lib/aarch64-linux-gnu/tegra"
enabled amf &&
check_cpp_condition amf "AMF/core/Version.h" \