From: Carl Hetherington Date: Sun, 22 Jan 2023 23:26:38 +0000 (+0100) Subject: Fix isdcf name ATMOS test. X-Git-Tag: v2.16.41~3 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=cc279961a2a9ffea67ed21378fef44c2e1bcb202 Fix isdcf name ATMOS test. --- diff --git a/src/lib/film.h b/src/lib/film.h index 41b04c997..babc14a29 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -71,6 +71,7 @@ class Ratio; class Job; class Film; struct isdcf_name_test; +struct isdcf_name_with_atmos; struct recover_test_2d_encrypted; struct atmos_encrypted_passthrough_test; @@ -493,6 +494,7 @@ public: private: friend struct ::isdcf_name_test; + friend struct ::isdcf_name_with_atmos; friend struct ::recover_test_2d_encrypted; friend struct ::atmos_encrypted_passthrough_test; template friend class ChangeSignaller; diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc index 5365dc08a..2b9092c83 100644 --- a/test/isdcf_name_test.cc +++ b/test/isdcf_name_test.cc @@ -243,6 +243,7 @@ BOOST_AUTO_TEST_CASE(isdcf_name_with_atmos) { auto content = content_factory(TestPaths::private_data() / "atmos_asset.mxf"); auto film = new_test_film2("isdcf_name_with_atmos", content); + film->_isdcf_date = boost::gregorian::date(2023, boost::gregorian::Jan, 18); film->set_name("Hello"); BOOST_CHECK_EQUAL(film->isdcf_name(false), "Hello_TST-1_F_XX-XX_MOS-ATMOS_2K_20230118_SMPTE_OV");