Use a vector rather than a list when returning from content_factory().
[dcpomatic.git] / test / remake_with_subtitle_test.cc
index 3b6cf930c8a71bb87fbc8b6dcf84ff281aa80bd8..68f5c4ebba0998dcc8a99d0576c971577007602b 100644 (file)
@@ -37,7 +37,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);