2021-03-12 04:14:34 +08:00
|
|
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
2021-09-03 09:01:14 +08:00
|
|
|
index 49dcf02..d448928 100644
|
2021-03-12 04:14:34 +08:00
|
|
|
--- a/src/CMakeLists.txt
|
|
|
|
+++ b/src/CMakeLists.txt
|
2021-09-03 09:01:14 +08:00
|
|
|
@@ -384,6 +384,7 @@ endif()
|
2021-03-12 04:14:34 +08:00
|
|
|
|
2021-09-03 09:01:14 +08:00
|
|
|
option(BUILD_PANGOLIN_FFMPEG "Build support for ffmpeg video input" ON)
|
|
|
|
if(BUILD_PANGOLIN_FFMPEG AND BUILD_PANGOLIN_VIDEO)
|
|
|
|
+ add_definitions(-DHAVE_FFMPEG_AVPIXELFORMAT)
|
|
|
|
find_package(FFMPEG QUIET)
|
|
|
|
if(FFMPEG_FOUND)
|
|
|
|
set(HAVE_FFMPEG 1)
|