diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-05-16 00:37:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-05-16 21:39:28 +0200 |
| commit | 6b09eaaf8a972aa0d607c5f26da9e19720b5a668 (patch) | |
| tree | 2214fc15397b7b1f8c4b88dbc56a3df60e4b13df /test/player_test.cc | |
| parent | eaee1cd5601a93037bc2fb0956b99b12fe1f90e6 (diff) | |
Make EmptyVideo work with stereo a little better.
Diffstat (limited to 'test/player_test.cc')
| -rw-r--r-- | test/player_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/player_test.cc b/test/player_test.cc index 3fb8691a5..3954fbbae 100644 --- a/test/player_test.cc +++ b/test/player_test.cc @@ -166,7 +166,7 @@ BOOST_AUTO_TEST_CASE (player_subframe_test) auto player = std::make_shared<Player>(film, Image::Alignment::COMPACT); player->setup_pieces (); BOOST_REQUIRE_EQUAL (player->_black._periods.size(), 1U); - BOOST_CHECK (player->_black._periods.front() == DCPTimePeriod(DCPTime::from_frames(3 * 24, 24), DCPTime::from_frames(3 * 24 + 1, 24))); + BOOST_CHECK (player->_black._periods.front().first == DCPTimePeriod(DCPTime::from_frames(3 * 24, 24), DCPTime::from_frames(3 * 24 + 1, 24))); BOOST_REQUIRE_EQUAL (player->_silent._periods.size(), 1U); BOOST_CHECK (player->_silent._periods.front() == DCPTimePeriod(DCPTime(289920), DCPTime::from_frames(3 * 24 + 1, 24))); } |
