summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-30 21:34:16 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-30 21:34:16 +0100
commitc57e92b12c64d4ad1a7f23876a97471565f9a252 (patch)
tree008213d35e4be34c55caa51760ab7aef6fa33113 /test
parente241b3d295fe4158239170f17391e08473e159c5 (diff)
Somewhat untested and sketchy basics of trimming.
Diffstat (limited to 'test')
-rw-r--r--test/black_fill_test.cc4
-rw-r--r--test/play_test.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/black_fill_test.cc b/test/black_fill_test.cc
index 4bd76c07f..2c239e767 100644
--- a/test/black_fill_test.cc
+++ b/test/black_fill_test.cc
@@ -47,9 +47,9 @@ BOOST_AUTO_TEST_CASE (black_fill_test)
wait_for_jobs ();
contentA->set_video_length (3);
- contentA->set_start (film->video_frames_to_time (2));
+ contentA->set_position (film->video_frames_to_time (2));
contentB->set_video_length (1);
- contentB->set_start (film->video_frames_to_time (7));
+ contentB->set_position (film->video_frames_to_time (7));
film->make_dcp ();
diff --git a/test/play_test.cc b/test/play_test.cc
index 52b54408b..e1fffa1d8 100644
--- a/test/play_test.cc
+++ b/test/play_test.cc
@@ -100,9 +100,9 @@ BOOST_AUTO_TEST_CASE (play_test)
/* Film should have been set to 25fps */
BOOST_CHECK_EQUAL (film->video_frame_rate(), 25);
- BOOST_CHECK_EQUAL (A->start(), 0);
+ BOOST_CHECK_EQUAL (A->position(), 0);
/* A is 16 frames long at 25 fps */
- BOOST_CHECK_EQUAL (B->start(), 16 * TIME_HZ / 25);
+ BOOST_CHECK_EQUAL (B->position(), 16 * TIME_HZ / 25);
shared_ptr<Player> player = film->make_player ();
PlayerWrapper wrap (player);