- shared_ptr<Film> film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string());
- shared_ptr<FFmpegContent> content (new FFmpegContent (film, path));
- film->examine_and_add_content (content, true);
- wait_for_jobs ();
- shared_ptr<Log> log (new NullLog);
- FFmpegDecoder decoder (content, log);
+ 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 decoder = make_shared<FFmpegDecoder>(film, content, false);
+ decoder->video->Data.connect (bind (&store, _1));