X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fmarkers_test.cc;h=0bbb329a0a8256e3435cb6fb13b19b646ac42a72;hb=HEAD;hp=afea00d525ebcce2db2b376b215db6a27d1b1dc2;hpb=ce73eaf7875a9a3326afcd839ad85eb95879c160;p=dcpomatic.git diff --git a/test/markers_test.cc b/test/markers_test.cc index afea00d52..a3c46af44 100644 --- a/test/markers_test.cc +++ b/test/markers_test.cc @@ -139,3 +139,16 @@ BOOST_AUTO_TEST_CASE(markers_correct_with_reels) BOOST_CHECK(*lfoc == dcp::Time(0, 0, 9, 23, 24)); } + +BOOST_AUTO_TEST_CASE(no_markers_with_interop) +{ + string const name = "no_markers_with_interop"; + auto film = new_test_film2(name, content_factory("test/data/flat_red.png")); + + film->set_interop(true); + make_and_verify_dcp(film, { dcp::VerificationNote::Code::INVALID_STANDARD }); + + auto cpl = find_file(film->dir(film->dcp_name()), "cpl_"); + BOOST_CHECK(dcp::file_to_string(cpl).find("MainMarkers") == std::string::npos); +} +