Merge pull request #22706 from kallaballa:libavdevice_for_ffmpeg_v4l2
authorAmir Hassan <amir@viel-zu.org>
Fri, 11 Nov 2022 22:28:02 +0000 (23:28 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Nov 2022 22:28:02 +0000 (22:28 +0000)
commitda4ac6b7eff2e8869567e4faaff73312f9e1ef57
tree7edc98892c38dd3a30370db716b5b3d2d66582e9
parent1ba0984203ab10c9356c56abf4146707bf8e925d
Merge pull request #22706 from kallaballa:libavdevice_for_ffmpeg_v4l2

Introduce libavdevice to make v4l2 available to the ffmpeg backend

* introduce libavdevice to make v4l2 available to the ffmpeg backend

* downgrade the min required libavdevice version to 53.2.0

* make libavdevice optional

* create OCV_OPTION OPENCV_FFMPEG_ENABLE_LIBAVDEVICE and add definition through ocv_add_external_target

* move OCV_OPTION 'OPENCV_FFMPEG_ENABLE_LIBAVDEVICE' to detect_ffmpeg.cmake
CMakeLists.txt
modules/videoio/cmake/detect_ffmpeg.cmake
modules/videoio/misc/plugin_ffmpeg/CMakeLists.txt
modules/videoio/src/cap_ffmpeg_impl.hpp