summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-23 00:26:38 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-23 00:26:38 +0100
commitcc279961a2a9ffea67ed21378fef44c2e1bcb202 (patch)
tree408f21640d11f862eac5cfc4687e372607f2b592
parenta9017504a0e3c152aba6ea8ac2dfa89183a362cb (diff)
Fix isdcf name ATMOS test.
-rw-r--r--src/lib/film.h2
-rw-r--r--test/isdcf_name_test.cc1
2 files changed, 3 insertions, 0 deletions
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 <class, class> 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");