diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-21 01:59:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-21 01:59:04 +0000 |
| commit | 254b3044d72de6b033d7c584f5abd2b9aa70aad5 (patch) | |
| tree | 8a5c83c1b2dea690672663dedb2f3aa50f4473dc /test/optimise_stills_test.cc | |
| parent | c31b9542c58ae1cbfae7ec3ba4911359fd010ba2 (diff) | |
Take Film pointer out of Content.
Diffstat (limited to 'test/optimise_stills_test.cc')
| -rw-r--r-- | test/optimise_stills_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/optimise_stills_test.cc b/test/optimise_stills_test.cc index b939d2914..3e69c95b6 100644 --- a/test/optimise_stills_test.cc +++ b/test/optimise_stills_test.cc @@ -75,7 +75,7 @@ BOOST_AUTO_TEST_CASE (optimise_stills_test1) film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz"); - shared_ptr<Content> content = content_factory(film, "test/data/flat_red.png").front (); + shared_ptr<Content> content = content_factory("test/data/flat_red.png").front (); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); film->make_dcp (); @@ -91,7 +91,7 @@ BOOST_AUTO_TEST_CASE (optimise_stills_test2) film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz"); - shared_ptr<Content> content = content_factory(film, "test/data/flat_red.png").front (); + shared_ptr<Content> content = content_factory("test/data/flat_red.png").front (); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs ()); content->video->set_frame_type (VIDEO_FRAME_TYPE_3D_LEFT_RIGHT); |
