summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-14 00:12:22 +0200
committerCarl Hetherington <cth@carlh.net>2024-08-17 12:51:26 +0200
commit0b4bffff846efe967110477797218c170ffb3166 (patch)
treef3cb1bbf1e3c86905afe42b159284d2d2c299476 /src/lib/dcp_subtitle_content.h
parent11456e09fd0a18ff9bd4c8421514b707d5d0c2fe (diff)
Add option to use relative content paths (#2856).
Diffstat (limited to 'src/lib/dcp_subtitle_content.h')
-rw-r--r--src/lib/dcp_subtitle_content.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/dcp_subtitle_content.h b/src/lib/dcp_subtitle_content.h
index 068b6dbac..a3cd78b39 100644
--- a/src/lib/dcp_subtitle_content.h
+++ b/src/lib/dcp_subtitle_content.h
@@ -30,7 +30,14 @@ public:
void examine (std::shared_ptr<const Film> film, std::shared_ptr<Job>) override;
std::string summary () const override;
std::string technical_summary () const override;
- void as_xml(xmlpp::Element*, bool with_paths) const override;
+
+ void as_xml(
+ xmlpp::Element* element,
+ bool with_paths,
+ PathBehaviour path_behaviour,
+ boost::optional<boost::filesystem::path> film_directory
+ ) const override;
+
dcpomatic::DCPTime full_length (std::shared_ptr<const Film> film) const override;
dcpomatic::DCPTime approximate_length () const override;