From ec06811bae7ed4fc6bd80c3154fd473028ee8e13 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 1 Jun 2025 01:39:04 +0200 Subject: Pass Ratio around as an object rather than a pointer. --- src/lib/writer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/writer.cc') 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) { -- cgit v1.2.3