diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-20 22:51:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-20 22:51:15 +0100 |
| commit | d330522cb1a0504e5f85c2346344e04916c68a4f (patch) | |
| tree | 65f711f94bbb7752610b0f740e115005692927f7 /src/lib/film.h | |
| parent | 8837c451db6d87faf4bf23b16297f7b4e05ddbbe (diff) | |
Always add FFOC and LFOC markers (#1805).
Diffstat (limited to 'src/lib/film.h')
| -rw-r--r-- | src/lib/film.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/film.h b/src/lib/film.h index 887433bea..4854d2ae7 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -327,8 +327,10 @@ public: return _reencode_j2k; } + typedef std::map<dcp::Marker, dcpomatic::DCPTime> Markers; + boost::optional<dcpomatic::DCPTime> marker (dcp::Marker type) const; - std::map<dcp::Marker, dcpomatic::DCPTime> markers () const { + Markers markers () const { return _markers; } @@ -418,6 +420,8 @@ public: void set_distributor (std::string d); void set_luminance (dcp::Luminance l); + void add_ffoc_lfoc (Markers& markers) const; + /** Emitted when some property has of the Film is about to change or has changed */ mutable boost::signals2::signal<void (ChangeType, Property)> Change; |
