diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-14 18:39:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-14 18:39:23 +0100 |
| commit | 6d1232abc853ea3771c35da6d3ff091b66baa1f2 (patch) | |
| tree | 30b9e5275b30f8927a90d3db388d8ea10f0b6b24 /src/lib/dcp_content.h | |
| parent | a680098a14cf40172370fde12c86691b82a36051 (diff) | |
FIXME: fix bugs.448-re-use
Diffstat (limited to 'src/lib/dcp_content.h')
| -rw-r--r-- | src/lib/dcp_content.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index bc60dadb7..7abed65b3 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -32,6 +32,7 @@ #include "enum_indexed_vector.h" #include "font.h" #include "resolution.h" +#include "reuse_type.h" #include "video_encoding.h" #include <libcxml/cxml.h> #include <dcp/content_kind.h> @@ -139,7 +140,7 @@ public: return _reference_video; } - bool can_reuse_video(std::shared_ptr<const Film> film, std::string* why_not = nullptr) const; + bool can_reuse_video(std::shared_ptr<const Film> film, boost::optional<ReuseType> reuse_type, std::string* why_not = nullptr) const; void set_reference_audio(bool r); @@ -148,7 +149,7 @@ public: return _reference_audio; } - bool can_reuse_audio(std::shared_ptr<const Film> film, std::string* why_not = nullptr) const; + bool can_reuse_audio(std::shared_ptr<const Film> film, boost::optional<ReuseType> reuse_type, std::string* why_not = nullptr) const; void set_reference_text(TextType type, bool r); @@ -160,7 +161,7 @@ public: return _reference_text[type]; } - bool can_reuse_text(std::shared_ptr<const Film> film, TextType type, std::string* why_not = nullptr) const; + bool can_reuse_text(std::shared_ptr<const Film> film, TextType type, boost::optional<ReuseType> reuse_type, std::string* why_not = nullptr) const; bool reference_anything() const; |
