diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-01 01:39:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-17 00:04:03 +0200 |
| commit | ec06811bae7ed4fc6bd80c3154fd473028ee8e13 (patch) | |
| tree | b398119a1a84d261ee16b57171652fd8714d657a /src/lib/writer.cc | |
| parent | 21e9bd77598f7bb4588ca9b16a58667e3340f6d9 (diff) | |
Pass Ratio around as an object rather than a pointer.
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index ce5d40c75..72a6eaf8b 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -731,8 +731,8 @@ Writer::write_cover_sheet() if (!cpls.empty()) { boost::algorithm::replace_all (text, "$CPL_FILENAME", cpls[0].cpl_file.filename().string()); } - boost::algorithm::replace_all (text, "$TYPE", film()->dcp_content_type()->pretty_name()); - boost::algorithm::replace_all (text, "$CONTAINER", film()->container()->container_nickname()); + boost::algorithm::replace_all(text, "$TYPE", film()->dcp_content_type()->pretty_name()); + boost::algorithm::replace_all(text, "$CONTAINER", film()->container().container_nickname()); auto audio_language = film()->audio_language(); if (audio_language) { |
