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

@@ -16,7 +16,7 @@ constexpr int CLIENT_HEIGHT = 600;
int main(int argc, char** argv){
spdlog::info("Current WorkDir Is: {}",argv[0]);
#ifdef DEBUG
argv[1] = R"(../img/ocean.jpg)";
argv[1] = R"(../img/ocean.mp4)";
#else
if(argc != 2){
spdlog::error("Usage: mp filename ");