summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-08 01:03:50 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-08 01:03:50 +0200
commit737adeeefb516b42716e399f1370cf56e5edbeb4 (patch)
treef53e5a0a8ac8f6545945d35b00af1b607c19edec
parenteeaca1992aa117fe3a2a4a079d8a20a01d88e933 (diff)
Add some missing override labels.
-rw-r--r--src/lib/ffmpeg_examiner.h14
-rw-r--r--src/lib/image_examiner.h14
-rw-r--r--src/lib/video_mxf_examiner.h14
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 {};
}