Use a vector rather than a list when returning from content_factory().
[dcpomatic.git] / test / pulldown_detect_test.cc
index e6adb288f8e8707e02353721fa459eb6f504e525..047f84b6932d8c8686df86a646fdecf0ea729937 100644 (file)
 #include <boost/test/unit_test.hpp>
 
 
-using boost::shared_ptr;
+using std::shared_ptr;
 
 
 BOOST_AUTO_TEST_CASE (pulldown_detect_test1)
 {
        shared_ptr<Film> film = new_test_film2 ("pulldown_detect_test1");
-       shared_ptr<Content> content = content_factory(TestPaths::private_data() / "greatbrain.mkv").front();
+       shared_ptr<Content> content = content_factory(TestPaths::private_data() / "greatbrain.mkv")[0];
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs());
        BOOST_REQUIRE (static_cast<bool>(content->video_frame_rate()));