summaryrefslogtreecommitdiff
path: root/src/lib/image_content.cc
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/image_content.cc
parent11456e09fd0a18ff9bd4c8421514b707d5d0c2fe (diff)
Add option to use relative content paths (#2856).
Diffstat (limited to 'src/lib/image_content.cc')
-rw-r--r--src/lib/image_content.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc
index 1ac6e085b..034ccb98d 100644
--- a/src/lib/image_content.cc
+++ b/src/lib/image_content.cc
@@ -43,6 +43,7 @@ using std::make_shared;
using std::shared_ptr;
using std::string;
using std::vector;
+using boost::optional;
using namespace dcpomatic;
@@ -99,10 +100,10 @@ ImageContent::technical_summary () const
void
-ImageContent::as_xml(xmlpp::Element* element, bool with_paths) const
+ImageContent::as_xml(xmlpp::Element* element, bool with_paths, PathBehaviour path_behaviour, optional<boost::filesystem::path> film_directory) const
{
cxml::add_text_child(element, "Type", "Image");
- Content::as_xml(element, with_paths);
+ Content::as_xml(element, with_paths, path_behaviour, film_directory);
if (video) {
video->as_xml(element);