projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb3301d
)
I don't think this round is necessary, as the return values of this method
author
Carl Hetherington
<cth@carlh.net>
Sun, 12 Mar 2023 21:45:55 +0000
(22:45 +0100)
committer
Carl 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
patch
|
blob
|
history
diff --git
a/src/lib/video_content.cc
b/src/lib/video_content.cc
index 9b39ff01b8f56d9f84e7176a27b227a482c6786b..862580004c96023bd2fa6474869279a044c213ec 100644
(file)
--- 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
;
}