summaryrefslogtreecommitdiff
path: root/test/play_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/play_test.cc')
-rw-r--r--test/play_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/play_test.cc b/test/play_test.cc
index 1ba2e7d88..067f772ff 100644
--- a/test/play_test.cc
+++ b/test/play_test.cc
@@ -82,7 +82,7 @@ private:
BOOST_AUTO_TEST_CASE (play_test)
{
shared_ptr<Film> film = new_test_film ("play_test");
- film->set_dcp_content_type (DCPContentType::from_dci_name ("FTR"));
+ film->set_dcp_content_type (DCPContentType::from_isdcf_name ("FTR"));
film->set_container (Ratio::from_id ("185"));
film->set_name ("play_test");
@@ -120,7 +120,7 @@ BOOST_AUTO_TEST_CASE (play_test)
}
}
- player->seek (10 * TIME_HZ / 25, true);
+ wrap.seek (10 * TIME_HZ / 25, true);
optional<Video> v = wrap.get_video ();
BOOST_CHECK (v);
BOOST_CHECK_EQUAL (v.get().time, 10 * TIME_HZ / 25);