summaryrefslogtreecommitdiff
path: root/src/lib/dcp_decoder.cc
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/dcp_decoder.cc
parentdf16b07cb1802c8f4485d75db3b2dec67521e599 (diff)
More float -> double.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
-rw-r--r--src/lib/dcp_decoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc
index 0c7e7589b..531a33c03 100644
--- a/src/lib/dcp_decoder.cc
+++ b/src/lib/dcp_decoder.cc
@@ -63,7 +63,7 @@ DCPDecoder::pass ()
return true;
}
- float const vfr = _dcp_content->video_frame_rate ();
+ double const vfr = _dcp_content->video_frame_rate ();
int64_t const frame = _next.frames (vfr);
if ((*_reel)->main_picture ()) {
@@ -164,7 +164,7 @@ DCPDecoder::text_subtitles_during (ContentTimePeriod period, bool starting) cons
/* XXX: inefficient */
list<ContentTimePeriod> ctp;
- float const vfr = _dcp_content->video_frame_rate ();
+ double const vfr = _dcp_content->video_frame_rate ();
BOOST_FOREACH (shared_ptr<dcp::Reel> r, _reels) {
if (!r->main_subtitle ()) {