projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1489f3c
)
Try again (fix previous).
author
Carl Hetherington
<cth@carlh.net>
Tue, 5 Mar 2013 11:52:50 +0000
(11:52 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 5 Mar 2013 11:52:50 +0000
(11:52 +0000)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 7395bde2e016aa6fab63cb83a4e255df7de8901d..53bdb4c79241c3868ec598ccc2fead4315747bc1 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-971,7
+971,7
@@
FrameRateConversion::FrameRateConversion (float source, int dcp)
}
if (change_speed) {
- float const pc = dcp
/ ((source * factor()) * 100
);
+ float const pc = dcp
* 100 / (source * factor()
);
description += String::compose (_("DCP will run at %1%% of the source speed."), pc);
}
}