- 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);
+ shared_ptr<FFmpegContent> content (new FFmpegContent (path));
+ film->examine_and_add_content (content);
+ BOOST_REQUIRE (!wait_for_jobs());
+ shared_ptr<FFmpegDecoder> decoder (new FFmpegDecoder (film, content, false));
+ decoder->video->Data.connect (bind (&store, _1));