summaryrefslogtreecommitdiff
path: root/src/lib/frame_rate_change.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-16 08:53:37 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-16 08:53:37 +0100
commit75cb27e8fc24c1b526802289dbddd67127142379 (patch)
tree7a8aab486371a6887fb5daaa925e97e7e63ffd82 /src/lib/frame_rate_change.h
parentdf16b07cb1802c8f4485d75db3b2dec67521e599 (diff)
More float -> double.
Diffstat (limited to 'src/lib/frame_rate_change.h')
-rw-r--r--src/lib/frame_rate_change.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/frame_rate_change.h b/src/lib/frame_rate_change.h
index f5244fea2..3df9225b7 100644
--- a/src/lib/frame_rate_change.h
+++ b/src/lib/frame_rate_change.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -24,12 +24,12 @@
struct FrameRateChange
{
- FrameRateChange (float, int);
+ FrameRateChange (double, int);
/** @return factor by which to multiply a source frame rate
to get the effective rate after any skip or repeat has happened.
*/
- float factor () const {
+ double factor () const {
if (skip) {
return 0.5;
}
@@ -37,7 +37,7 @@ struct FrameRateChange
return repeat;
}
- float source;
+ double source;
int dcp;
/** true to skip every other frame */
@@ -58,7 +58,7 @@ struct FrameRateChange
/** Amount by which the video is being sped-up in the DCP; e.g. for a
* 24fps source in a 25fps DCP this would be 25/24.
*/
- float speed_up;
+ double speed_up;
std::string description () const;
};