summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-03-12 22:45:55 +0100
committerCarl Hetherington <cth@carlh.net>2023-03-16 00:37:02 +0100
commit02085b7d2e6322bc23fc5b9475dff7e5b6748699 (patch)
treef707c448105f2f81b9cfb3a6acb18c1ad4b07ae6
parenteb3301dbdf655a36c98f50eb9b4adcfe4d1dad0c (diff)
I don't think this round is necessary, as the return values of this method
are either used for UI/metadata or then passed to scale_for_display(), which does its own pixel quanta rounding.
-rw-r--r--src/lib/video_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc
index 9b39ff01b..862580004 100644
--- a/src/lib/video_content.cc
+++ b/src/lib/video_content.cc
@@ -671,7 +671,7 @@ VideoContent::scaled_size (dcp::Size film_container)
_legacy_ratio = boost::optional<float>();
}
- return _pixel_quanta.round (auto_size);
+ return auto_size;
}