std::shared_ptr
[dcpomatic.git] / src / lib / image_examiner.h
index 281b002f33572c1708dfef7f42297d8b14c9a31e..839e390ed17dd01570bdf6ae318e2b75fda38415 100644 (file)
@@ -25,18 +25,24 @@ class ImageContent;
 class ImageExaminer : public VideoExaminer
 {
 public:
-       ImageExaminer (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageContent>, boost::shared_ptr<Job>);
+       ImageExaminer (std::shared_ptr<const Film>, std::shared_ptr<const ImageContent>, std::shared_ptr<Job>);
 
+       bool has_video () const {
+               return true;
+       }
        boost::optional<double> video_frame_rate () const;
        dcp::Size video_size () const;
        Frame video_length () const {
                return _video_length;
        }
        bool yuv () const;
+       VideoRange range () const {
+               return VIDEO_RANGE_FULL;
+       }
 
 private:
-       boost::weak_ptr<const Film> _film;
-       boost::shared_ptr<const ImageContent> _image_content;
+       std::weak_ptr<const Film> _film;
+       std::shared_ptr<const ImageContent> _image_content;
        boost::optional<dcp::Size> _video_size;
        Frame _video_length;
 };