summaryrefslogtreecommitdiff
path: root/test/dcp_playback_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-15 23:36:21 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-27 13:41:46 +0200
commit3799e91d126d243d41c44dcb0ca1bfa66b53a57e (patch)
tree74348b18d5ac0ef81bbebb27fe32862b22baa0b2 /test/dcp_playback_test.cc
parent9bfa07293928c371d59db2091ba2b7e715ce5994 (diff)
Replace aligned bool with enum Alignment.
Diffstat (limited to 'test/dcp_playback_test.cc')
-rw-r--r--test/dcp_playback_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc
index 2ea638d74..28368dc34 100644
--- a/test/dcp_playback_test.cc
+++ b/test/dcp_playback_test.cc
@@ -45,12 +45,12 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test)
auto butler = std::make_shared<Butler>(
film,
- make_shared<Player>(film, false),
+ make_shared<Player>(film, Image::Alignment::COMPACT),
AudioMapping(6, 6),
6,
bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24),
VideoRange::FULL,
- false,
+ Image::Alignment::COMPACT,
true,
false
);
@@ -63,7 +63,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test)
}
/* assuming DCP is 24fps/48kHz */
butler->get_audio (audio_buffer, 2000);
- p.first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, false, true);
+ p.first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, Image::Alignment::COMPACT, true);
}
delete[] audio_buffer;
}