summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-13 00:20:28 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-13 00:20:28 +0200
commit66cf5e6f9201183a15d325dd0d779fc7f53efc84 (patch)
tree57b89082e1c919428af90ff96a751d588f3d4079
parent19e47294d1de485a12dccf2c25bec0c8144049e8 (diff)
Some missing override statements.
-rw-r--r--src/lib/dcp_encoder.h8
-rw-r--r--src/lib/ffmpeg_encoder.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/dcp_encoder.h b/src/lib/dcp_encoder.h
index 65782d968..cc4e7ae7f 100644
--- a/src/lib/dcp_encoder.h
+++ b/src/lib/dcp_encoder.h
@@ -40,13 +40,13 @@ public:
DCPEncoder (std::shared_ptr<const Film> film, std::weak_ptr<Job> job);
~DCPEncoder ();
- void go ();
+ void go () override;
- boost::optional<float> current_rate () const;
- Frame frames_done () const;
+ boost::optional<float> current_rate () const override;
+ Frame frames_done () const override;
/** @return true if we are in the process of calling Encoder::process_end */
- bool finishing () const {
+ bool finishing () const override {
return _finishing;
}
diff --git a/src/lib/ffmpeg_encoder.h b/src/lib/ffmpeg_encoder.h
index 710364b01..f450c8022 100644
--- a/src/lib/ffmpeg_encoder.h
+++ b/src/lib/ffmpeg_encoder.h
@@ -42,11 +42,11 @@ public:
int x264_crf
);
- void go ();
+ void go () override;
- boost::optional<float> current_rate () const;
- Frame frames_done () const;
- bool finishing () const {
+ boost::optional<float> current_rate () const override;
+ Frame frames_done () const override;
+ bool finishing () const override {
return false;
}