diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-26 01:35:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-26 01:35:13 +0100 |
| commit | b1a681c63cd892f91c9825a517b741dee9eb2b26 (patch) | |
| tree | c7f1a9b1031eeea2d03f11ecfe02438c7f5cd4c2 /test | |
| parent | 7950a422f3814bb355bfa4d6a536c735fc222fc4 (diff) | |
Revert "Fix test to take into account changes to rounding."
This reverts commit 32823e7cc89965bf706fecab13be444e5a2aaa09.
Diffstat (limited to 'test')
| -rw-r--r-- | test/time_calculation_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc index b8475527e..9f91be584 100644 --- a/test/time_calculation_test.cc +++ b/test/time_calculation_test.cc @@ -224,7 +224,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test1) BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (0.60)), 0); BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (3.00)), 0); BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (4.60)), 40); - BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (9.75)), 169); + BOOST_CHECK_EQUAL (player->dcp_to_content_video (piece, DCPTime::from_seconds (9.75)), 168); /* Position 3s, 1.6s trim, content rate 24, DCP rate 25. Here the trim is in ContentTime, so it's 1.6s at 24fps. |
