diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-16 11:25:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-16 11:25:45 +0100 |
| commit | d474df7f2f8c01ece7ded039fe4c926555677dc4 (patch) | |
| tree | 671fef99690cdb169c10b1f1c8d0d5953d7cfe48 /test/ffmpeg_decoder_sequential_test.cc | |
| parent | 8142f2bc2e9cf757cb94753b1dda8f25b0ebaa22 (diff) | |
Fix failure to fill FFmpeg gaps at the start of films.
Diffstat (limited to 'test/ffmpeg_decoder_sequential_test.cc')
| -rw-r--r-- | test/ffmpeg_decoder_sequential_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ffmpeg_decoder_sequential_test.cc b/test/ffmpeg_decoder_sequential_test.cc index 6bda8f260..67a825418 100644 --- a/test/ffmpeg_decoder_sequential_test.cc +++ b/test/ffmpeg_decoder_sequential_test.cc @@ -50,7 +50,7 @@ static DCPTime frame; static void check (shared_ptr<PlayerVideo>, DCPTime time) { - BOOST_CHECK (time == next); + BOOST_REQUIRE (time == next); next += frame; } @@ -76,12 +76,12 @@ ffmpeg_decoder_sequential_test_one (boost::filesystem::path file, float fps, int next = DCPTime (); frame = DCPTime::from_frames (1, film->video_frame_rate ()); while (!player->pass()) {} - BOOST_CHECK (next == DCPTime::from_frames (video_length, film->video_frame_rate())); + BOOST_REQUIRE (next == DCPTime::from_frames (video_length, film->video_frame_rate())); } BOOST_AUTO_TEST_CASE (ffmpeg_decoder_sequential_test) { - ffmpeg_decoder_sequential_test_one ("boon_telly.mkv", 29.97, 6911); + ffmpeg_decoder_sequential_test_one ("boon_telly.mkv", 29.97, 6912); ffmpeg_decoder_sequential_test_one ("Sintel_Trailer1.480p.DivX_Plus_HD.mkv", 24, 1253); ffmpeg_decoder_sequential_test_one ("prophet_clip.mkv", 23.976, 2879); } |
