summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-18 16:11:53 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-18 16:12:49 +0100
commit16cf80a019cc9df15580e0fb21b5d340a58c0b94 (patch)
tree36935f8ba276cee407bc6195c0536c0abc105cd4 /src
parent61fc1bcdf1c54d3ee7cadb9a600e2385b636e03e (diff)
Add set_isdcf_date() allowing removal of some friends.
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc7
-rw-r--r--src/lib/film.h12
2 files changed, 8 insertions, 11 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 56d7b47a6..0e9c096fc 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -1383,6 +1383,13 @@ Film::set_isdcf_date_today()
}
+void
+Film::set_isdcf_date(boost::gregorian::date date)
+{
+ _isdcf_date = std::move(date);
+}
+
+
boost::filesystem::path
Film::j2c_path(int reel, Frame frame, Eyes eyes, bool tmp) const
{
diff --git a/src/lib/film.h b/src/lib/film.h
index 258be7f31..1bb60f9d5 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -78,11 +78,6 @@ class Job;
class Log;
class Playlist;
struct atmos_encrypted_passthrough_test;
-struct isdcf_name_test;
-struct isdcf_name_with_atmos;
-struct isdcf_name_with_ccap;
-struct isdcf_name_with_closed_subtitles;
-struct ov_subs_in_vf_name;
struct recover_test_2d_encrypted;
@@ -413,6 +408,7 @@ public:
void set_audio_channels(int);
void set_three_d(bool);
void set_isdcf_date_today();
+ void set_isdcf_date(boost::gregorian::date);
void set_sequence(bool);
void set_interop(bool);
void set_video_encoding(VideoEncoding encoding);
@@ -481,12 +477,6 @@ public:
private:
friend struct ::atmos_encrypted_passthrough_test;
- friend struct film_metadata_test;
- friend struct ::isdcf_name_test;
- friend struct ::isdcf_name_with_atmos;
- friend struct ::isdcf_name_with_ccap;
- friend struct ::isdcf_name_with_closed_subtitles;
- friend struct ::ov_subs_in_vf_name;
friend struct paths_test;
friend struct ::recover_test_2d_encrypted;
template <class, class> friend class ChangeSignalDespatcher;