diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ffmpeg_examiner.h | 14 | ||||
| -rw-r--r-- | src/lib/image_examiner.h | 14 | ||||
| -rw-r--r-- | src/lib/video_mxf_examiner.h | 14 |
3 files changed, 21 insertions, 21 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index 36efc92b1..da88156e4 100644 --- a/src/lib/ffmpeg_examiner.h +++ b/src/lib/ffmpeg_examiner.h @@ -37,11 +37,11 @@ public: bool has_video () const; - boost::optional<double> video_frame_rate () const; - dcp::Size video_size () const; - Frame video_length () const; - boost::optional<double> sample_aspect_ratio () const; - bool yuv () const; + boost::optional<double> video_frame_rate () const override; + dcp::Size video_size () const override; + Frame video_length () const override; + boost::optional<double> sample_aspect_ratio () const override; + bool yuv () const override; std::vector<std::shared_ptr<FFmpegSubtitleStream>> subtitle_streams () const { return _subtitle_streams; @@ -55,9 +55,9 @@ public: return _first_video; } - VideoRange range () const; + VideoRange range () const override; - PixelQuanta pixel_quanta () const; + PixelQuanta pixel_quanta () const override; AVColorRange color_range () const { return video_codec_context()->color_range; 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<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; + 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 {}; } diff --git a/src/lib/video_mxf_examiner.h b/src/lib/video_mxf_examiner.h index 3719d3efc..c1b2f37f5 100644 --- a/src/lib/video_mxf_examiner.h +++ b/src/lib/video_mxf_examiner.h @@ -34,15 +34,15 @@ public: bool has_video () const { return true; } - boost::optional<double> video_frame_rate () const; - dcp::Size video_size () const; - Frame video_length () const; - boost::optional<double> sample_aspect_ratio () const; - bool yuv () const; - VideoRange range () const { + boost::optional<double> video_frame_rate () const override; + dcp::Size video_size () const override; + Frame video_length () const override; + boost::optional<double> sample_aspect_ratio () const override; + bool yuv () const override; + VideoRange range () const override { return VideoRange::FULL; } - PixelQuanta pixel_quanta () const { + PixelQuanta pixel_quanta () const override { return {}; } |
