-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dextinfire
committed
Dec 14, 2024
1 parent
0951e82
commit f044120
Showing
8 changed files
with
63 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 732a4b2..d4a4ee1 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -32,7 +32,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
find_package(Threads) | ||
|
||
find_package(FFmpeg | ||
- COMPONENTS AVCODEC AVFORMAT AVUTIL AVDEVICE AVFILTER SWSCALE SWRESAMPLE REQUIRED) | ||
+ COMPONENTS AVCODEC AVFORMAT AVUTIL AVFILTER SWSCALE SWRESAMPLE REQUIRED) | ||
|
||
add_subdirectory(src) | ||
|
||
diff --git a/cmake/FindFFmpeg.cmake b/cmake/FindFFmpeg.cmake | ||
index 2746b39..91c9b56 100644 | ||
--- a/cmake/FindFFmpeg.cmake | ||
+++ b/cmake/FindFFmpeg.cmake | ||
@@ -166,7 +166,6 @@ if (NOT FFMPEG_LIBRARIES) | ||
# Check for all possible component. | ||
find_component(AVCODEC libavcodec avcodec libavcodec/avcodec.h) | ||
find_component(AVFORMAT libavformat avformat libavformat/avformat.h) | ||
- find_component(AVDEVICE libavdevice avdevice libavdevice/avdevice.h) | ||
find_component(AVUTIL libavutil avutil libavutil/avutil.h) | ||
find_component(AVFILTER libavfilter avfilter libavfilter/avfilter.h) | ||
find_component(SWSCALE libswscale swscale libswscale/swscale.h) | ||
diff --git a/src/ffmpeg.h b/src/ffmpeg.h | ||
index 397204f..1bb9d10 100644 | ||
--- a/src/ffmpeg.h | ||
+++ b/src/ffmpeg.h | ||
@@ -9,7 +9,6 @@ extern "C" | ||
#include <libavutil/mathematics.h> | ||
#include <libavutil/opt.h> | ||
#include <libavutil/pixdesc.h> | ||
-#include <libavdevice/avdevice.h> | ||
#include <libswscale/swscale.h> | ||
#include <libswresample/swresample.h> | ||
#include <libavformat/version.h> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#pragma once | ||
|
||
#include <chrono> | ||
#include <avcpp/timestamp.h> | ||
#include <timestamp.h> | ||
|
||
namespace Impacto::Video { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters