Supporters update.
[dcpomatic.git] / test / remake_with_subtitle_test.cc
index 3b6cf930c8a71bb87fbc8b6dcf84ff281aa80bd8..57322d3ac3379e4d1dbb0434c21998892c368f9d 100644 (file)
@@ -27,7 +27,6 @@
 #include <boost/test/unit_test.hpp>
 
 
-using std::shared_ptr;
 using std::dynamic_pointer_cast;
 
 
@@ -37,7 +36,7 @@ using std::dynamic_pointer_cast;
 BOOST_AUTO_TEST_CASE (remake_with_subtitle_test)
 {
        auto film = new_test_film2 ("remake_with_subtitle_test");
-       auto content = dynamic_pointer_cast<FFmpegContent>(content_factory(TestPaths::private_data() / "prophet_short_clip.mkv").front());
+       auto content = dynamic_pointer_cast<FFmpegContent>(content_factory(TestPaths::private_data() / "prophet_short_clip.mkv")[0]);
        film->examine_and_add_content (content);
        BOOST_REQUIRE (!wait_for_jobs ());
        content->only_text()->set_burn (true);