summaryrefslogtreecommitdiff
path: root/test/ffmpeg_decoder_seek_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-21 11:06:13 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-21 11:06:13 +0000
commit6cc7359c1af897f334dab5ba455707ce0c59af9d (patch)
tree237494ff11c3a703ece1602a51c8e7f198eeca05 /test/ffmpeg_decoder_seek_test.cc
parent54bb8ec390c86f333ed4fb6e383b348035253f14 (diff)
Stop jobs silently failing in tests.
Diffstat (limited to 'test/ffmpeg_decoder_seek_test.cc')
-rw-r--r--test/ffmpeg_decoder_seek_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ffmpeg_decoder_seek_test.cc b/test/ffmpeg_decoder_seek_test.cc
index b8bfe3532..c69c74c68 100644
--- a/test/ffmpeg_decoder_seek_test.cc
+++ b/test/ffmpeg_decoder_seek_test.cc
@@ -72,7 +72,7 @@ test (boost::filesystem::path file, vector<int> frames)
shared_ptr<Film> film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string());
shared_ptr<FFmpegContent> content (new FFmpegContent (path));
film->examine_and_add_content (content);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
shared_ptr<FFmpegDecoder> decoder (new FFmpegDecoder (film, content, false));
decoder->video->Data.connect (bind (&store, _1));