X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_examiner.h;h=53fab327e495dac5a34ef37040cabf0603773a71;hb=b168d211622f94a5240c945c1df03b0bed48d3bc;hp=0dcdebad0520986bce14a84363c82037149fb49d;hpb=c2a17a87868eba87072fc369102b2b3cd8905e5a;p=dcpomatic.git diff --git a/src/lib/image_examiner.h b/src/lib/image_examiner.h index 0dcdebad0..53fab327e 100644 --- a/src/lib/image_examiner.h +++ b/src/lib/image_examiner.h @@ -27,19 +27,19 @@ class ImageExaminer : public VideoExaminer public: ImageExaminer (std::shared_ptr, std::shared_ptr, std::shared_ptr); - bool has_video () const { + bool has_video () const override { return true; } - boost::optional video_frame_rate () const; - dcp::Size video_size () const; - Frame video_length () const { + boost::optional video_frame_rate () const override; + 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 { + PixelQuanta pixel_quanta () const override { /* See ::yuv - we're assuming the image is not YUV and so not subsampled */ return {}; }