diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-21 01:19:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-21 01:19:03 +0100 |
| commit | 791c8b584d8d408c30e1c5fa6ff9c00685650687 (patch) | |
| tree | 5b9e1d928bce88dcf0f65df16affec41fc8ba7a2 /src/lib/film.h | |
| parent | 9f9c91448f4796981497cd9d12b285ccd08f4a6a (diff) | |
Add Film::last_written_by_git().
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 799333430..3aef1e27e 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -198,6 +198,7 @@ public: bool references_dcp_audio() const; bool contains_atmos_content() const; + bool last_written_by_git() const; bool last_written_by_earlier_than(int major, int minor, int micro) const; /* GET */ @@ -506,7 +507,13 @@ private: */ boost::optional<boost::filesystem::path> _directory; - boost::optional<std::string> _last_written_by; + struct LastWrittenBy + { + std::string version; + std::string git; + }; + + boost::optional<LastWrittenBy> _last_written_by; /** Name for DCP-o-matic */ std::string _name; |
