X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_examiner.h;h=cd8964d0adc7572979b81369b25be41cc1392f46;hb=d2728b07a42b0da60effd259b508761e670c0789;hp=1800f1ea36e18921500924740f86de0948c98b8d;hpb=85c65bd422742813992686c17a5e1b718cc3c449;p=dcpomatic.git diff --git a/src/lib/image_examiner.h b/src/lib/image_examiner.h index 1800f1ea3..cd8964d0a 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,15 +26,17 @@ 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; - VideoFrame video_length () const { + Frame video_length () const { return _video_length; } + bool yuv () const; private: boost::weak_ptr _film; boost::shared_ptr _image_content; boost::optional _video_size; - VideoFrame _video_length; + Frame _video_length; + bool _yuv; };