summaryrefslogtreecommitdiff
path: root/test/ffmpeg_decoder_seek_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/ffmpeg_decoder_seek_test.cc')
-rw-r--r--test/ffmpeg_decoder_seek_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ffmpeg_decoder_seek_test.cc b/test/ffmpeg_decoder_seek_test.cc
index f38ef3564..6fb4cc876 100644
--- a/test/ffmpeg_decoder_seek_test.cc
+++ b/test/ffmpeg_decoder_seek_test.cc
@@ -80,10 +80,8 @@ test (boost::filesystem::path file, vector<ContentTime> times)
auto path = TestPaths::private_data() / file;
BOOST_REQUIRE (boost::filesystem::exists (path));
- auto film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string());
auto content = make_shared<FFmpegContent>(path);
- film->examine_and_add_content (content);
- BOOST_REQUIRE (!wait_for_jobs());
+ auto film = new_test_film2("ffmpeg_decoder_seek_test_" + file.string(), { content });
auto decoder = make_shared<FFmpegDecoder>(film, content, false);
decoder->video->Data.connect (bind (&store, _1));