X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_examiner.h;h=792c7b4ebe84a73367f99a60a3f8f884732d34fb;hb=63643372fea87ee99b87f3a3f5cd434eedb60925;hp=6ae0422cbbd4477f8ac7878e05a2430b251711b0;hpb=391d85619ac19a2a93696ddc35c222eb9bb5d9d6;p=dcpomatic.git diff --git a/src/lib/image_examiner.h b/src/lib/image_examiner.h index 6ae0422cb..792c7b4eb 100644 --- a/src/lib/image_examiner.h +++ b/src/lib/image_examiner.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington + Copyright (C) 2013-2014 Carl Hetherington 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 @@ -19,10 +19,6 @@ #include "video_examiner.h" -namespace Magick { - class Image; -} - class ImageContent; class ImageExaminer : public VideoExaminer @@ -30,9 +26,9 @@ class ImageExaminer : public VideoExaminer public: ImageExaminer (boost::shared_ptr, boost::shared_ptr, boost::shared_ptr); - float video_frame_rate () const; + boost::optional video_frame_rate () const; dcp::Size video_size () const; - ContentTime video_length () const { + Frame video_length () const { return _video_length; } @@ -40,5 +36,5 @@ private: boost::weak_ptr _film; boost::shared_ptr _image_content; boost::optional _video_size; - ContentTime _video_length; + Frame _video_length; };