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/encode_cli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/encode_cli.cc') diff --git a/src/lib/encode_cli.cc b/src/lib/encode_cli.cc index fa304b6e0..88fc36ac5 100644 --- a/src/lib/encode_cli.cc +++ b/src/lib/encode_cli.cc @@ -111,7 +111,7 @@ static void print_dump(function out, shared_ptr film) { out(fmt::format("{}\n", film->dcp_name(true))); - out(fmt::format("{} at {}\n", film->container()->container_nickname(), film->resolution() == Resolution::TWO_K ? "2K" : "4K")); + out(fmt::format("{} at {}\n", film->container().container_nickname(), film->resolution() == Resolution::TWO_K ? "2K" : "4K")); out(fmt::format("{}Mbit/s\n", film->video_bit_rate(film->video_encoding()) / 1000000)); out(fmt::format("Duration {}\n", film->length().timecode(film->video_frame_rate()))); out(fmt::format("Output {}fps {} {}kHz\n", film->video_frame_rate(), film->three_d() ? "3D" : "2D", film->audio_frame_rate() / 1000)); -- cgit v1.2.3