I don't think this round is necessary, as the return values of this method
authorCarl Hetherington <cth@carlh.net>
Sun, 12 Mar 2023 21:45:55 +0000 (22:45 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 15 Mar 2023 23:37:02 +0000 (00:37 +0100)
are either used for UI/metadata or then passed to scale_for_display(),
which does its own pixel quanta rounding.

src/lib/video_content.cc

index 9b39ff01b8f56d9f84e7176a27b227a482c6786b..862580004c96023bd2fa6474869279a044c213ec 100644 (file)
@@ -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;
 }