ffmepg 导入, 视频解码初始化逻辑, 视频解码线程逻辑

This commit is contained in:
Jie
2024-09-30 16:11:07 +08:00
parent 1237b164bf
commit 15018f4079
8 changed files with 127 additions and 6 deletions

View File

@@ -15,12 +15,12 @@ file(GLOB_RECURSE tests ${PROJECT_SOURCE_DIR}/test/*.cc)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
include(FetchContent)
include(spdlog)
include(gtest)
enable_testing()
IF(UNIX)
include_directories(/usr/include/x86_64-linux-gnu)
find_package(SFML 2.5 COMPONENTS system window graphics network audio REQUIRED)
add_executable(${PROJECT_N}
main.cc
@@ -32,7 +32,10 @@ IF(UNIX)
sfml-graphics
sfml-network
sfml-audio
avcodec
avformat
vorbis
avutil
spdlog
)