summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-08-31 02:03:01 +0100
committerCarl Hetherington <cth@carlh.net>2019-08-31 02:03:01 +0100
commit2cdf3d9f461b12d0925cc54368105bbd177bbbb3 (patch)
treee250a7fd753a4a10a47c9d0a8a67f2c6c36c1112 /src/lib/encoder.h
parent1f88a38a2a607c21988a403e76f315444c4be36b (diff)
Primitive subtitle export feature.v2.15.16
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index f4116c50c..792029a91 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -43,7 +43,10 @@ public:
virtual void go () = 0;
/** @return the current frame rate over the last short while */
- virtual float current_rate () const = 0;
+ virtual boost::optional<float> current_rate () const {
+ return boost::optional<float>();
+ }
+
/** @return the number of frames that are done */
virtual Frame frames_done () const = 0;
virtual bool finishing () const = 0;