X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Foverlap_video_test.cc;h=c23444c4abe6756f92299b3cacb4eea6a37f2587;hb=380ca8671269dcd1fb31c519b7a41f428792846f;hp=d0d5a8bbfa361d356d88bfa8f2a7367bf8aa97c9;hpb=9bfa07293928c371d59db2091ba2b7e715ce5994;p=dcpomatic.git diff --git a/test/overlap_video_test.cc b/test/overlap_video_test.cc index d0d5a8bbf..c23444c4a 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" @@ -40,7 +41,6 @@ using std::dynamic_pointer_cast; using std::make_shared; -using std::shared_ptr; BOOST_AUTO_TEST_CASE (overlap_video_test1) @@ -57,7 +57,7 @@ BOOST_AUTO_TEST_CASE (overlap_video_test1) B->video->set_length (24); B->set_position (film, dcpomatic::DCPTime::from_seconds(1)); - auto player = make_shared(film, false); + auto player = make_shared(film, Image::Alignment::COMPACT); auto pieces = player->_pieces; BOOST_REQUIRE_EQUAL (pieces.size(), 2U); BOOST_CHECK_EQUAL (pieces.front()->content, A);