/* Get any piece of content, it doesn't matter what */
shared_ptr<FFmpegContent> content (new FFmpegContent("test/data/test.mp4"));
film->examine_and_add_content (content);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
/* Run some tests with a limited range of allowed rates */
film->examine_and_add_content (A);
shared_ptr<FFmpegContent> B (new FFmpegContent("test/data/test.mp4"));
film->examine_and_add_content (B);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
/* Run some tests with a limited range of allowed rates */
/* Get any piece of content, it doesn't matter what */
shared_ptr<FFmpegContent> content (new FFmpegContent("test/data/test.mp4"));
film->examine_and_add_content (content);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
std::list<int> afr;
afr.push_back (24);
BOOST_CHECK_EQUAL (content->audio->resampled_frame_rate(film), 48000);
stream->_frame_rate = 80000;
- BOOST_CHECK_EQUAL (content->audio->resampled_frame_rate(film), 96000);
+ BOOST_CHECK_EQUAL (content->audio->resampled_frame_rate(film), 48000);
content->_video_frame_rate = 23.976;
film->set_video_frame_rate (24);