From 78b00d9dc0509ce62ca4776a5a80e14d33cf0931 Mon Sep 17 00:00:00 2001 From: a839419160 <30894660+a839419160@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:22:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=ADmp4?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD=E6=97=B6test=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=8A=A5=E9=94=99=20(#4043)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_bench_push.cpp | 3 ++- tests/test_pusherMp4.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_bench_push.cpp b/tests/test_bench_push.cpp index 7e6c93e9..387e3ec1 100644 --- a/tests/test_bench_push.cpp +++ b/tests/test_bench_push.cpp @@ -7,7 +7,7 @@ * LICENSE file in the root of the source tree. All contributing project authors * may be found in the AUTHORS file in the root of the source tree. */ - +#ifdef ENABLE_MP4 #include #include #include @@ -261,3 +261,4 @@ int main(int argc, char *argv[]) { return 0; } +#endif diff --git a/tests/test_pusherMp4.cpp b/tests/test_pusherMp4.cpp index e2f9c7c5..bbdee643 100644 --- a/tests/test_pusherMp4.cpp +++ b/tests/test_pusherMp4.cpp @@ -7,7 +7,7 @@ * LICENSE file in the root of the source tree. All contributing project authors * may be found in the AUTHORS file in the root of the source tree. */ - +#ifdef ENABLE_MP4 #include #include #include "Util/logger.h" @@ -141,3 +141,4 @@ int main(int argc, char *argv[]) { // return domain("/Users/xiongziliang/Downloads/mp4/Quantum.mp4", "rtsp://127.0.0.1/live/rtsp_push"); return domain(argv[1], argv[2]); } +#endif \ No newline at end of file