X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Foverlap_video_test.cc;h=12a26fe609a792a214bc8aafd95c672091f790d2;hb=182b9d2e2feb6545592868606aaf0f0146095481;hp=3c969921d8045dc956cc2e25369e28d2f89e181b;hpb=952084c4221c5708e02c783284cf0f7239c6b4c4;p=dcpomatic.git diff --git a/test/overlap_video_test.cc b/test/overlap_video_test.cc index 3c969921d..12a26fe60 100644 --- a/test/overlap_video_test.cc +++ b/test/overlap_video_test.cc @@ -23,6 +23,7 @@ #include "lib/content_factory.h" #include "lib/dcpomatic_time.h" #include "lib/film.h" +#include "lib/piece.h" #include "lib/player.h" #include "lib/video_content.h" #include "test.h" @@ -46,9 +47,9 @@ BOOST_AUTO_TEST_CASE (overlap_video_test1) { auto film = new_test_film2 ("overlap_video_test1"); film->set_sequence (false); - auto A = content_factory("test/data/flat_red.png").front(); + auto A = content_factory("test/data/flat_red.png")[0]; film->examine_and_add_content (A); - auto B = content_factory("test/data/flat_green.png").front(); + auto B = content_factory("test/data/flat_green.png")[0]; film->examine_and_add_content (B); BOOST_REQUIRE (!wait_for_jobs());