summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 71e864ebd..7395bde2e 100644
--- 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 = (source * factor()) * 100 / dcp;
+ float const pc = dcp / ((source * factor()) * 100);
description += String::compose (_("DCP will run at %1%% of the source speed."), pc);
}
}