summaryrefslogtreecommitdiff
path: root/test/import_dcp_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/import_dcp_test.cc')
-rw-r--r--test/import_dcp_test.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index 671fc8cf7..cb485e68a 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -125,7 +125,10 @@ BOOST_AUTO_TEST_CASE (import_dcp_markers_test)
BOOST_REQUIRE (!wait_for_jobs());
film2->write_metadata ();
- BOOST_CHECK_EQUAL (imported->markers().size(), 3U);
+ /* When import_dcp_markers_test was made a LFOC marker will automatically
+ * have been added.
+ */
+ BOOST_CHECK_EQUAL (imported->markers().size(), 4U);
map<dcp::Marker, dcpomatic::ContentTime> markers = imported->markers();
BOOST_REQUIRE(markers.find(dcp::FFOC) != markers.end());
@@ -142,7 +145,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_markers_test)
shared_ptr<DCPContent> reloaded = dynamic_pointer_cast<DCPContent>(film3->content().front());
BOOST_REQUIRE (reloaded);
- BOOST_CHECK_EQUAL (reloaded->markers().size(), 3U);
+ BOOST_CHECK_EQUAL (reloaded->markers().size(), 4U);
markers = reloaded->markers();
BOOST_REQUIRE(markers.find(dcp::FFOC) != markers.end());