diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-09 20:41:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-11 12:22:11 +0200 |
| commit | b1e22dff981fb86ae04b12bb5a064e61030793a8 (patch) | |
| tree | ffb112f6e3f3311d8669f6a89628bf5f0bc40f2e /test/burnt_subtitle_test.cc | |
| parent | 736d6bf3242a0ba3841cb765e97cf9fee3540460 (diff) | |
Use a vector rather than a list when returning from content_factory().
Diffstat (limited to 'test/burnt_subtitle_test.cc')
| -rw-r--r-- | test/burnt_subtitle_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/burnt_subtitle_test.cc b/test/burnt_subtitle_test.cc index 0fffe4913..38ce61326 100644 --- a/test/burnt_subtitle_test.cc +++ b/test/burnt_subtitle_test.cc @@ -94,7 +94,7 @@ BOOST_AUTO_TEST_CASE (burnt_subtitle_test_onto_dcp) film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz"); - film->examine_and_add_content (content_factory(film, "test/data/flat_black.png").front()); + film->examine_and_add_content (content_factory(film, "test/data/flat_black.png")[0]); BOOST_REQUIRE (!wait_for_jobs()); make_and_verify_dcp (film); @@ -106,7 +106,7 @@ BOOST_AUTO_TEST_CASE (burnt_subtitle_test_onto_dcp) auto background_dcp = make_shared<DCPContent>(film2, film->dir(film->dcp_name())); film2->examine_and_add_content (background_dcp); auto sub = dynamic_pointer_cast<StringText> ( - content_factory(film2, "test/data/subrip2.srt").front() + content_factory(film2, "test/data/subrip2.srt")[0] ); sub->subtitle->set_burn (true); sub->subtitle->set_outline (true); |
