diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-20 20:35:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-20 20:35:39 +0100 |
| commit | 59c2b819fd6fd98a86145ebbb1b00fe0aa282b73 (patch) | |
| tree | f0a67636c35174bd1db86d7c09fd94bd75447519 /test/ffmpeg_decoder_sequential_test.cc | |
| parent | e77df3f6edfb0cc9125a9c8a24aedb67aecbfff7 (diff) | |
Fix non-debug build.
Diffstat (limited to 'test/ffmpeg_decoder_sequential_test.cc')
| -rw-r--r-- | test/ffmpeg_decoder_sequential_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ffmpeg_decoder_sequential_test.cc b/test/ffmpeg_decoder_sequential_test.cc index b4ff36e6e..9a14c5adb 100644 --- a/test/ffmpeg_decoder_sequential_test.cc +++ b/test/ffmpeg_decoder_sequential_test.cc @@ -56,7 +56,9 @@ test (boost::filesystem::path file, float fps, int first) BOOST_CHECK_CLOSE (decoder.video_content()->video_frame_rate(), fps, 0.01); VideoFrame const N = decoder.video_content()->video_length().frames (decoder.video_content()->video_frame_rate ()); +#ifdef DCPOMATIC_DEBUG decoder.test_gaps = 0; +#endif for (VideoFrame i = 0; i < N; ++i) { list<ContentVideo> v; v = decoder.get_video (i, true); @@ -67,7 +69,9 @@ test (boost::filesystem::path file, float fps, int first) BOOST_CHECK_EQUAL (v.front().frame, i); } } +#ifdef DCPOMATIC_DEBUG BOOST_CHECK_EQUAL (decoder.test_gaps, 0); +#endif } BOOST_AUTO_TEST_CASE (ffmpeg_decoder_sequential_test) |
