From d7988db6cde91256e99f53e34a0217e0d823eb83 Mon Sep 17 00:00:00 2001 From: zaki Date: Mon, 24 Jul 2023 15:14:37 +0530 Subject: [PATCH] Updated Mp4Reader arguments --- base/test/mp4writersink_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/test/mp4writersink_tests.cpp b/base/test/mp4writersink_tests.cpp index 1ab5de435..3ae8612ab 100644 --- a/base/test/mp4writersink_tests.cpp +++ b/base/test/mp4writersink_tests.cpp @@ -180,7 +180,7 @@ void read_write(std::string videoPath, std::string outPath, int width, int heigh boost::filesystem::path dir(outPath); - auto mp4ReaderProps = Mp4ReaderSourceProps(videoPath, parseFS,0,true,true,false); + auto mp4ReaderProps = Mp4ReaderSourceProps(videoPath, parseFS,0,true,false,false); mp4ReaderProps.logHealth = true; mp4ReaderProps.logHealthFrequency = 300; auto mp4Reader = boost::shared_ptr(new Mp4ReaderSource(mp4ReaderProps)); @@ -205,7 +205,7 @@ void read_write(std::string videoPath, std::string outPath, int width, int heigh } p->run_all_threaded(); - boost::this_thread::sleep_for(boost::chrono::seconds(45)); + boost::this_thread::sleep_for(boost::chrono::seconds(8)); p->stop(); p->term();