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/tools/dcpomatic_player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index b74124e2c..ffb4f5dbd 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -507,7 +507,7 @@ public: if (i->video && i->video->size()) { auto const r = Ratio::nearest_from_ratio(i->video->size()->ratio()); - if (r->id() == "239") { + if (r.id() == "239") { /* Any scope content means we use scope */ _film->set_container(r); } -- cgit v1.2.3