float -> double in a few places.
[dcpomatic.git] / src / lib / image_examiner.h
index f5d5150749971c6f874880802e1da1ff09b96555..f159e38f98a270d6fbce7a90af74862cba105405 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2014 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
@@ -30,15 +30,15 @@ class ImageExaminer : public VideoExaminer
 public:
        ImageExaminer (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageContent>, boost::shared_ptr<Job>);
 
-       float video_frame_rate () const;
-       libdcp::Size video_size () const;
-       VideoFrame video_length () const {
+       boost::optional<double> video_frame_rate () const;
+       dcp::Size video_size () const;
+       Frame video_length () const {
                return _video_length;
        }
 
 private:
        boost::weak_ptr<const Film> _film;
        boost::shared_ptr<const ImageContent> _image_content;
-       boost::optional<libdcp::Size> _video_size;
-       VideoFrame _video_length;
+       boost::optional<dcp::Size> _video_size;
+       Frame _video_length;
 };