Remove in-place translations support.
[dcpomatic.git] / src / lib / image_examiner.h
index cad8683a19b3e23148668f1a97b6eb5bf82ccaf6..54fca7ed1c2e6ce10efe02d04877bec6e0424f4e 100644 (file)
@@ -27,18 +27,22 @@ class ImageExaminer : public VideoExaminer
 public:
        ImageExaminer (std::shared_ptr<const Film>, std::shared_ptr<const ImageContent>, std::shared_ptr<Job>);
 
-       bool has_video () const {
+       bool has_video () const override {
                return true;
        }
-       boost::optional<double> video_frame_rate () const;
-       dcp::Size video_size () const;
-       Frame video_length () const {
+       boost::optional<double> video_frame_rate () const override;
+       boost::optional<dcp::Size> video_size() const override;
+       Frame video_length () const override {
                return _video_length;
        }
-       bool yuv () const;
-       VideoRange range () const {
+       bool yuv () const override;
+       VideoRange range () const override {
                return VideoRange::FULL;
        }
+       PixelQuanta pixel_quanta () const override {
+               /* See ::yuv - we're assuming the image is not YUV and so not subsampled */
+               return {};
+       }
 
 private:
        std::weak_ptr<const Film> _film;