From 2cdf3d9f461b12d0925cc54368105bbd177bbbb3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 31 Aug 2019 02:03:01 +0100 Subject: Primitive subtitle export feature. --- src/lib/encoder.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/encoder.h') 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 current_rate () const { + return boost::optional(); + } + /** @return the number of frames that are done */ virtual Frame frames_done () const = 0; virtual bool finishing () const = 0; -- cgit v1.2.3