Add some missing override labels.
authorCarl Hetherington <cth@carlh.net>
Thu, 7 Apr 2022 23:03:50 +0000 (01:03 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 7 Apr 2022 23:03:50 +0000 (01:03 +0200)
src/lib/ffmpeg_examiner.h
src/lib/image_examiner.h
src/lib/video_mxf_examiner.h

index 36efc92b1b6e1090aa1db490404795cf028bca2f..da88156e4b08f42d2bb21e88b38e87b1c00cad1f 100644 (file)
@@ -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;
index 0dcdebad0520986bce14a84363c82037149fb49d..53fab327e495dac5a34ef37040cabf0603773a71 100644 (file)
@@ -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 {};
        }
index 3719d3efcf09f5d7a4326a5e07973c5f7adb340a..c1b2f37f53988b4b551ca1c742a94ebf8c3203ec 100644 (file)
@@ -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 {};
        }