Skip to content

Commit

Permalink
Updated Mp4Reader arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammedzakikochargi committed Jul 24, 2023
1 parent 784203d commit d7988db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/test/mp4writersink_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Mp4ReaderSource>(new Mp4ReaderSource(mp4ReaderProps));
Expand All @@ -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();
Expand Down

0 comments on commit d7988db

Please sign in to comment.