diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-08-02 16:00:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-08-14 21:07:48 +0100 |
| commit | 7a3f4f1b6411f7d15bf00e863fb5e70a5d930dd8 (patch) | |
| tree | d00041a7602ab4f21ce11377b4a1754cb6d43bd1 /test/empty_test.cc | |
| parent | d66bcea066deb3b3cd919a69aab7e2078fb52ca8 (diff) | |
Remove Film dependency from Empty.
Diffstat (limited to 'test/empty_test.cc')
| -rw-r--r-- | test/empty_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/empty_test.cc b/test/empty_test.cc index 326ae9530..713972739 100644 --- a/test/empty_test.cc +++ b/test/empty_test.cc @@ -52,7 +52,7 @@ BOOST_AUTO_TEST_CASE (empty_test1) contentB->video->set_length (1); contentB->set_position (DCPTime::from_frames (7, vfr)); - Empty black (film, bind(&Content::video, _1)); + Empty black (film->content(), film->length(), bind(&Content::video, _1)); BOOST_REQUIRE_EQUAL (black._periods.size(), 2); BOOST_CHECK (black._periods.front().from == DCPTime()); BOOST_CHECK (black._periods.front().to == DCPTime::from_frames(2, vfr)); @@ -84,7 +84,7 @@ BOOST_AUTO_TEST_CASE (empty_test2) contentB->video->set_length (1); contentB->set_position (DCPTime::from_frames (7, vfr)); - Empty black (film, bind(&Content::video, _1)); + Empty black (film->content(), film->length(), bind(&Content::video, _1)); BOOST_REQUIRE_EQUAL (black._periods.size(), 1); BOOST_CHECK (black._periods.front().from == DCPTime::from_frames(3, vfr)); BOOST_CHECK (black._periods.front().to == DCPTime::from_frames(7, vfr)); |
